diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-01-07 02:44:47 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-01-07 02:44:47 -0500 |
commit | 2c5e7560251b25b36ae3785211962e9597dc7e7d (patch) | |
tree | a84e38ad0cd740eaa8a4f2a13e9306c4ff3281ad /include | |
parent | 2750337379d1314026d174cd5b49e3f8ea590637 (diff) | |
download | musl-2c5e7560251b25b36ae3785211962e9597dc7e7d.tar.gz musl-2c5e7560251b25b36ae3785211962e9597dc7e7d.tar.bz2 musl-2c5e7560251b25b36ae3785211962e9597dc7e7d.tar.xz musl-2c5e7560251b25b36ae3785211962e9597dc7e7d.zip |
remove sys/sysctl.h
this functionality has essentially always been deprecated in linux,
and was never supported by musl. the presence of the header was
reported to cause some software to attempt to use the nonexistant
function, so removing the header is the cleanest solution.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/sysctl.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/sys/sysctl.h b/include/sys/sysctl.h deleted file mode 100644 index c358b794..00000000 --- a/include/sys/sysctl.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef _SYS_SYSCTL_H -#define _SYS_SYSCTL_H - -#ifdef __cplusplus -extern "C" { -#endif - -#define __NEED_size_t -#include <bits/alltypes.h> - -int sysctl (int *, int, void *, size_t *, void *, size_t); - -#ifdef __cplusplus -} -#endif - -#endif |