Commit 82103354 authored by Mickaël Turnel's avatar Mickaël Turnel

Rename locale conversion files to avoid miscomprehension

parent 88c52653
......@@ -31,7 +31,7 @@ set(HEADER_FILES
vconnect.h
parser.h
regex.h
locale.h
charconv.h
)
if(ENABLE_TESTS_COMPONENT)
list(APPEND HEADER_FILES tester.h)
......
......@@ -16,8 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef BCTBX_LOCALE_H
#define BCTBX_LOCALE_H
#ifndef BCTBX_CHARCONV_H
#define BCTBX_CHARCONV_H
#ifdef __cplusplus
extern "C" {
......@@ -30,5 +30,5 @@ BCTBX_PUBLIC char *bctbx_utf8_to_locale(const char *str);
}
#endif
#endif /* BCTBX_LOCALE_H */
#endif /* BCTBX_CHARCONV_H */
......@@ -24,7 +24,7 @@ set(BCTOOLBOX_C_SOURCE_FILES
containers/list.c
logging/logging.c
utils/port.c
utils/locale.c
utils/charconv.c
vfs.c
vconnect.c
parser.c
......
......@@ -26,7 +26,7 @@
#include "bctoolbox/logging.h"
#include "bctoolbox/port.h"
#include "bctoolbox/locale.h"
#include "bctoolbox/charconv.h"
char *bctbx_convert_utf8_locale(const char *str, bool_t locale_to_utf8) {
#if defined(_WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment