glibc/include/sys/sysctl.h
Florian Weimer 744e829637 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>
2019-06-12 14:32:08 +02:00

4 lines
79 B
C

#ifndef _SYS_SYSCTL_H
#include_next <sys/sysctl.h>
#endif /* _SYS_SYSCTL_H */