diff options
author | nectar <nectar@FreeBSD.org> | 2003-02-16 17:29:11 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-02-16 17:29:11 +0000 |
commit | 832e8b7f9a7422b49453b7e389ec411d3037a50f (patch) | |
tree | 3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/gen/sysctl.c | |
parent | 81da3fbe2a40d9b80c8e96af564180f8aa22074e (diff) | |
download | FreeBSD-src-832e8b7f9a7422b49453b7e389ec411d3037a50f.zip FreeBSD-src-832e8b7f9a7422b49453b7e389ec411d3037a50f.tar.gz |
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
Diffstat (limited to 'lib/libc/gen/sysctl.c')
-rw-r--r-- | lib/libc/gen/sysctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/gen/sysctl.c b/lib/libc/gen/sysctl.c index ad39ff6..525175a1 100644 --- a/lib/libc/gen/sysctl.c +++ b/lib/libc/gen/sysctl.c @@ -47,6 +47,9 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> #include <string.h> +extern int __sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, + void *newp, size_t newlen); + int sysctl(name, namelen, oldp, oldlenp, newp, newlen) int *name; |