remove sys/sysctl.h
authorRich Felker <dalias@aerifal.cx>
Tue, 7 Jan 2014 07:44:47 +0000 (02:44 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 7 Jan 2014 07:44:47 +0000 (02:44 -0500)
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.

include/sys/sysctl.h [deleted file]

diff --git a/include/sys/sysctl.h b/include/sys/sysctl.h
deleted file mode 100644 (file)
index c358b79..0000000
+++ /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