Date: Sun, 20 Sep 2015 04:21:45 +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: r288016 - head/lib/libc/compat-43 Message-ID: <201509200421.t8K4LjY2080399@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Sun Sep 20 04:21:44 2015 New Revision: 288016 URL: https://svnweb.freebsd.org/changeset/base/288016 Log: Add declaration to eliminate -Wmissing-prototypes warning Modified: head/lib/libc/compat-43/creat.c Modified: head/lib/libc/compat-43/creat.c ============================================================================== --- head/lib/libc/compat-43/creat.c Sun Sep 20 04:20:31 2015 (r288015) +++ head/lib/libc/compat-43/creat.c Sun Sep 20 04:21:44 2015 (r288016) @@ -41,6 +41,8 @@ __FBSDID("$FreeBSD$"); __weak_reference(__creat, creat); __weak_reference(__creat, _creat); +int __creat(const char *path, mode_t mode); + #pragma weak creat int __creat(const char *path, mode_t mode)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509200421.t8K4LjY2080399>