[ntpsec commit] Remove unused linux/seccomp.h include.
Eric S. Raymond
esr at ntpsec.org
Wed Sep 30 09:40:43 UTC 2015
Module: ntpsec
Branch: master
Commit: e38663d6605e641d262463e076a05203d745191c
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=e38663d6605e641d262463e076a05203d745191c
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Wed Sep 30 04:38:23 2015 -0400
Remove unused linux/seccomp.h include.
---
ntpd/ntpd.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c
index 6f3a38c..7159ccd 100644
--- a/ntpd/ntpd.c
+++ b/ntpd/ntpd.c
@@ -69,12 +69,6 @@
# endif /* HAVE_PRIV_H */
#endif /* ENABLE_DROPROOT */
-#if defined (LIBSECCOMP) && (KERN_SECCOMP)
-/* # include <sys/types.h> */
-# include <sys/resource.h>
-# include <seccomp.h>
-#endif /* LIBSECCOMP and KERN_SECCOMP */
-
#if defined(HAVE_DNS_SD_H) && defined(ENABLE_MDNS_REGISTRATION)
# include <dns_sd.h>
DNSServiceRef mdns;
More information about the vc
mailing list