diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-06-12 14:32:08 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-06-12 14:32:08 +0200 |
commit | 744e829637162bb7d5029632aacf341c64b86990 (patch) | |
tree | f298a035ddf1000ace1e12b8e854b601885b054c /include/sys | |
parent | 5dad6ffbb2b76215cfcd38c3001778536ada8e8a (diff) | |
download | glibc-744e829637162bb7d5029632aacf341c64b86990.tar glibc-744e829637162bb7d5029632aacf341c64b86990.tar.gz glibc-744e829637162bb7d5029632aacf341c64b86990.tar.bz2 glibc-744e829637162bb7d5029632aacf341c64b86990.zip |
Linux: Deprecate <sys/sysctl.h> and sysctl
Now that there are no internal users of __sysctl left, it is possible
to add an unconditional deprecation warning to <sys/sysctl.h>.
To avoid a test failure due this warning in check-install-headers,
skip the test for sys/sysctl.h.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/sysctl.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sys/sysctl.h b/include/sys/sysctl.h index 2a15e91354..fa102aa226 100644 --- a/include/sys/sysctl.h +++ b/include/sys/sysctl.h @@ -1,13 +1,3 @@ #ifndef _SYS_SYSCTL_H #include_next <sys/sysctl.h> - -# ifndef _ISOMAC - -/* Read or write system parameters (Linux, FreeBSD specific). */ -extern int __sysctl (int *__name, int __nlen, void *__oldval, - size_t *__oldlenp, void *__newval, size_t __newlen); -libc_hidden_proto (__sysctl) - - -# endif /* !_ISOMAC */ #endif /* _SYS_SYSCTL_H */ |