dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize conv_fails variable (for case of null strings).
[gedcom-parse.git]
/
utf8-locale.h
diff --git
a/utf8-locale.h
b/utf8-locale.h
index 4a06187ff44a2ab6f5887a2c20a1528f73eb77e0..ffe974ba9b2edde400fad28a2fcc7a445279fd5d 100644
(file)
--- a/
utf8-locale.h
+++ b/
utf8-locale.h
@@
-12,8
+12,14
@@
#ifndef __UTF8_LOCALE_H
#define __UTF8_LOCALE_H
#ifndef __UTF8_LOCALE_H
#define __UTF8_LOCALE_H
+#include <features.h>
+
+__BEGIN_DECLS
+
void convert_set_unknown(const char* unknown);
void convert_set_unknown(const char* unknown);
-char* convert_utf8_to_locale(char* input);
+char* convert_utf8_to_locale(char* input
, int *conv_fails
);
char* convert_locale_to_utf8(char* input);
char* convert_locale_to_utf8(char* input);
+__END_DECLS
+
#endif /* __UTF8_LOCALE_H */
#endif /* __UTF8_LOCALE_H */