From owner-svn-src-head@freebsd.org Sun Sep 20 03:55:04 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5FF49CDAAC; Sun, 20 Sep 2015 03:55:04 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D637812EF; Sun, 20 Sep 2015 03:55:04 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8K3t4EY068073; Sun, 20 Sep 2015 03:55:04 GMT (envelope-from rodrigc@FreeBSD.org) Received: (from rodrigc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8K3t4md068069; Sun, 20 Sep 2015 03:55:04 GMT (envelope-from rodrigc@FreeBSD.org) Message-Id: <201509200355.t8K3t4md068069@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigc set sender to rodrigc@FreeBSD.org using -f From: Craig Rodrigues Date: Sun, 20 Sep 2015 03:55:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288006 - head/lib/libc/stdio X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 03:55:05 -0000 Author: rodrigc Date: Sun Sep 20 03:55:03 2015 New Revision: 288006 URL: https://svnweb.freebsd.org/changeset/base/288006 Log: Add declarations to eliminate -Wmissing-prototypes warnings Modified: head/lib/libc/stdio/_flock_stub.c head/lib/libc/stdio/fgetwln.c head/lib/libc/stdio/findfp.c Modified: head/lib/libc/stdio/_flock_stub.c ============================================================================== --- head/lib/libc/stdio/_flock_stub.c Sun Sep 20 03:53:08 2015 (r288005) +++ head/lib/libc/stdio/_flock_stub.c Sun Sep 20 03:55:03 2015 (r288006) @@ -55,6 +55,9 @@ __weak_reference(_flockfile_debug_stub, __weak_reference(_ftrylockfile, ftrylockfile); __weak_reference(_funlockfile, funlockfile); +void _flockfile_debug_stub(FILE *fp, char *fname, int lineno); +int _ftrylockfile(FILE *fp); + void _flockfile(FILE *fp) { Modified: head/lib/libc/stdio/fgetwln.c ============================================================================== --- head/lib/libc/stdio/fgetwln.c Sun Sep 20 03:53:08 2015 (r288005) +++ head/lib/libc/stdio/fgetwln.c Sun Sep 20 03:55:03 2015 (r288006) @@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$"); #include "local.h" #include "xlocale_private.h" +wchar_t *fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale); + wchar_t * fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) { Modified: head/lib/libc/stdio/findfp.c ============================================================================== --- head/lib/libc/stdio/findfp.c Sun Sep 20 03:53:08 2015 (r288005) +++ head/lib/libc/stdio/findfp.c Sun Sep 20 03:55:03 2015 (r288006) @@ -164,6 +164,7 @@ found: */ __warn_references(f_prealloc, "warning: this program uses f_prealloc(), which is not recommended."); +void f_prealloc_void(); void f_prealloc(void)