svn commit: r288016 - head/lib/libc/compat-43

Craig Rodrigues rodrigc at FreeBSD.org
Sun Sep 20 04:21:45 UTC 2015


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)


More information about the svn-src-all mailing list