summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/local.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-10-09 12:24:56 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-10-09 12:24:56 +0000
commit633cf9b5dd846d6dbd5ab6102de24cf2a7c4582c (patch)
treeab11401550457b0fcb364dd9feca21487ab74351 /newlib/libc/string/local.h
parent657ca8442749cd79d2d49831ceae20e49e6b57f8 (diff)
downloadcygnal-633cf9b5dd846d6dbd5ab6102de24cf2a7c4582c.tar.gz
cygnal-633cf9b5dd846d6dbd5ab6102de24cf2a7c4582c.tar.bz2
cygnal-633cf9b5dd846d6dbd5ab6102de24cf2a7c4582c.zip
* libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
comparison * libc/string/memchr.c (memchr): Ditto. * libc/string/memrchr.c (memrchr): Ditto. * libc/string/memset.c: (memset): Ditto. * libc/string/rawmemchr.c (rawmemchr): Ditto. * libc/string/local.h (__locale_cjk_lang): Fix "function declaration isn't a prototype" warning. * libc/string/strcasestr.c (strcasestr): Ditto. * libc/string/u_strerr.c (_user_strerror): Fix "unused parameter" warnings. * libc/string/rawmemchr.c (rawmemchr): Fix comment type "// ..." -> "/* ... */".
Diffstat (limited to 'newlib/libc/string/local.h')
-rw-r--r--newlib/libc/string/local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/string/local.h b/newlib/libc/string/local.h
index dfe01d70b..babaad0e5 100644
--- a/newlib/libc/string/local.h
+++ b/newlib/libc/string/local.h
@@ -6,7 +6,7 @@ int _EXFUN (__wcwidth, (wint_t));
/* Defined in locale/locale.c. Returns a value != 0 if the current
language is assumed to use CJK fonts. */
-int __locale_cjk_lang ();
+int _EXFUN (__locale_cjk_lang, (void));
/*
Taken from glibc: