diff options
author | delphij <delphij@FreeBSD.org> | 2009-06-22 17:00:20 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-06-22 17:00:20 +0000 |
commit | 903095e7105f537fbdcb5a7a542bd833c6b35b3b (patch) | |
tree | 5527ce21b3eae9dc03f3042c94b8885b9edd941d /lib/libkiconv/xlat16_sysctl.c | |
parent | 0ba87e4c225c7deeca23a4062c9132d849d24813 (diff) | |
download | FreeBSD-src-903095e7105f537fbdcb5a7a542bd833c6b35b3b.zip FreeBSD-src-903095e7105f537fbdcb5a7a542bd833c6b35b3b.tar.gz |
Add prototypes when the library is compiled static.
Diffstat (limited to 'lib/libkiconv/xlat16_sysctl.c')
-rw-r--r-- | lib/libkiconv/xlat16_sysctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libkiconv/xlat16_sysctl.c b/lib/libkiconv/xlat16_sysctl.c index 28420d9..ae4dae7 100644 --- a/lib/libkiconv/xlat16_sysctl.c +++ b/lib/libkiconv/xlat16_sysctl.c @@ -70,11 +70,15 @@ kiconv_add_xlat16_table(const char *to, const char *from, const void *data, int #else /* statically linked */ +#include <sys/types.h> +#include <sys/iconv.h> #include <errno.h> int -kiconv_add_xlat16_table(const char *to, const char *from, const void *data, int datalen) +kiconv_add_xlat16_table(const char *to __unused, const char *from __unused, + const void *data __unused, int datalen __unused) { + return (EINVAL); } |