]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Deprecate <sys/sysctl.h> and sysctl
authorFlorian Weimer <fweimer@redhat.com>
Wed, 12 Jun 2019 12:32:08 +0000 (14:32 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 12 Jun 2019 12:32:08 +0000 (14:32 +0200)
commit744e829637162bb7d5029632aacf341c64b86990
treef298a035ddf1000ace1e12b8e854b601885b054c
parent5dad6ffbb2b76215cfcd38c3001778536ada8e8a
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>
ChangeLog
NEWS
include/sys/sysctl.h
scripts/check-installed-headers.sh
sysdeps/unix/sysv/linux/sys/sysctl.h
sysdeps/unix/sysv/linux/sysctl.c