about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-01-07 02:44:47 -0500
committerRich Felker <dalias@aerifal.cx>2014-01-07 02:44:47 -0500
commit2c5e7560251b25b36ae3785211962e9597dc7e7d (patch)
treea84e38ad0cd740eaa8a4f2a13e9306c4ff3281ad
parent2750337379d1314026d174cd5b49e3f8ea590637 (diff)
downloadmusl-2c5e7560251b25b36ae3785211962e9597dc7e7d.tar.gz
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.
-rw-r--r--include/sys/sysctl.h17
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