summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 03:51:15 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 03:51:15 +0000
commit0046fafdb2b31d1fb0ae1cda2cde904e192cfe01 (patch)
tree73f6bfa8f951eb653887e97736a52cab324b8234 /lib/libc
parent418ac8aebe151b78b32d075aa22f35f1e7d4a4ec (diff)
downloadFreeBSD-src-0046fafdb2b31d1fb0ae1cda2cde904e192cfe01.zip
FreeBSD-src-0046fafdb2b31d1fb0ae1cda2cde904e192cfe01.tar.gz
Add declaration to eliminate -Wmissing-prototypes warning.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/strchrnul.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/string/strchrnul.c b/lib/libc/string/strchrnul.c
index 98e652d..893468c 100644
--- a/lib/libc/string/strchrnul.c
+++ b/lib/libc/string/strchrnul.c
@@ -33,6 +33,8 @@ __FBSDID("$FreeBSD$");
__weak_reference(__strchrnul, strchrnul);
+char *__strchrnul(const char *, int);
+
char *
__strchrnul(const char *p, int ch)
{
OpenPOWER on IntegriCloud