From: Rich Felker Date: Tue, 7 Jan 2014 07:44:47 +0000 (-0500) Subject: remove sys/sysctl.h X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2c5e7560251b25b36ae3785211962e9597dc7e7d;p=musl 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. --- 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 - -int sysctl (int *, int, void *, size_t *, void *, size_t); - -#ifdef __cplusplus -} -#endif - -#endif