diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 04:21:44 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 04:21:44 +0000 |
commit | 101e50ce2f97f7992d4ecbb9c3c70d050896597a (patch) | |
tree | 9c549ac1f6af410486cc08dd4e9a313e13c1c5ba /lib/libc | |
parent | f7aca4b6732b0fec7e07f68e00a786539595cea1 (diff) | |
download | FreeBSD-src-101e50ce2f97f7992d4ecbb9c3c70d050896597a.zip FreeBSD-src-101e50ce2f97f7992d4ecbb9c3c70d050896597a.tar.gz |
Add declaration to eliminate -Wmissing-prototypes warning
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/compat-43/creat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/compat-43/creat.c b/lib/libc/compat-43/creat.c index 4545482..983ff92 100644 --- a/lib/libc/compat-43/creat.c +++ b/lib/libc/compat-43/creat.c @@ -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) |