svn commit: r288004 - head/lib/libc/string

Craig Rodrigues rodrigc at FreeBSD.org
Sun Sep 20 03:51:16 UTC 2015


Author: rodrigc
Date: Sun Sep 20 03:51:15 2015
New Revision: 288004
URL: https://svnweb.freebsd.org/changeset/base/288004

Log:
  Add declaration to eliminate -Wmissing-prototypes warning.

Modified:
  head/lib/libc/string/strchrnul.c

Modified: head/lib/libc/string/strchrnul.c
==============================================================================
--- head/lib/libc/string/strchrnul.c	Sun Sep 20 03:49:08 2015	(r288003)
+++ head/lib/libc/string/strchrnul.c	Sun Sep 20 03:51:15 2015	(r288004)
@@ -33,6 +33,8 @@ __FBSDID("$FreeBSD$");
 
 __weak_reference(__strchrnul, strchrnul);
 
+char *__strchrnul(const char *, int);
+
 char *
 __strchrnul(const char *p, int ch)
 {


More information about the svn-src-all mailing list