#ifndef __UTF8_LOCALE_H
#define __UTF8_LOCALE_H
-#include <features.h>
-
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
void convert_set_unknown(const char* unknown);
-char* convert_utf8_to_locale(char* input, int *conv_fails);
-char* convert_locale_to_utf8(char* input);
+char* convert_utf8_to_locale(const char* input, int *conv_fails);
+char* convert_locale_to_utf8(const char* input);
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif /* __UTF8_LOCALE_H */