Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 03:51:15 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288004 - head/lib/libc/string
Message-ID:  <201509200351.t8K3pFQv065229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509200351.t8K3pFQv065229>