diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | fetchmail.h | 4 | ||||
-rw-r--r-- | ucs/norm_charmap.c | 1 | ||||
-rw-r--r-- | ucs/norm_charmap.h | 7 |
4 files changed, 12 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 211da3ae..c1318b0a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,8 @@ fetchmail_SOURCES= fetchmail.h getopt.h \ opie.c interface.c netrc.c \ unmime.c conf.c checkalias.c \ lock.h lock.c \ - rcfile_l.l rcfile_y.y ucs/norm_charmap.c + rcfile_l.l rcfile_y.y \ + ucs/norm_charmap.c ucs/norm_charmap.h if POP2_ENABLE fetchmail_SOURCES += pop2.c endif diff --git a/fetchmail.h b/fetchmail.h index 4ad810a2..50165c12 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -476,8 +476,8 @@ extern char *sdps_envto; extern const char *iana_charset; /* IANA assigned charset name */ -/* from ucs/norm_charmap.c */ -const char *norm_charmap(const char *name); +/* from/for ucs/norm_charmap.c */ +#include "ucs/norm_charmap.h" /* prototypes for globally callable functions */ diff --git a/ucs/norm_charmap.c b/ucs/norm_charmap.c index e2a9aaf9..dedad326 100644 --- a/ucs/norm_charmap.c +++ b/ucs/norm_charmap.c @@ -25,6 +25,7 @@ */ #include "config.h" /* import AC_C_CONST effects */ +#include "norm_charmap.h" #include <string.h> diff --git a/ucs/norm_charmap.h b/ucs/norm_charmap.h new file mode 100644 index 00000000..a051231d --- /dev/null +++ b/ucs/norm_charmap.h @@ -0,0 +1,7 @@ +#ifndef _NORM_CHARMAP_H_ +#define _NORM_CHARMAP_H_ + +/* norm_charmap.c */ +const char *norm_charmap(const char *name); + +#endif |