diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-26 22:04:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-26 22:04:19 +0000 |
commit | 05e75260d6952308d7c865ff67c0e3678b7ba935 (patch) | |
tree | ac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/sysdeps/linux/common/sysctl.c | |
parent | 2fec342738cefe71910e8e8ab8636accfc5867bc (diff) |
Get rid of missing prototype warnings
Diffstat (limited to 'libc/sysdeps/linux/common/sysctl.c')
-rw-r--r-- | libc/sysdeps/linux/common/sysctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/sysctl.c b/libc/sysdeps/linux/common/sysctl.c index 8359577bc..0d6f49185 100644 --- a/libc/sysdeps/linux/common/sysctl.c +++ b/libc/sysdeps/linux/common/sysctl.c @@ -8,6 +8,10 @@ */ #include "syscalls.h" +/* psm: including sys/sysctl.h would depend on kernel headers */ +extern int sysctl (int *__name, int __nlen, void *__oldval, + size_t *__oldlenp, void *__newval, size_t __newlen) __THROW; + struct __sysctl_args { int *name; int nlen; |