X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fseccomp.h;h=3e8b1cf54303cf42f155c36630162b3fadcbeded;hb=ad5da3cf39a5b11a198929be1f2644e17ecd767e;hp=dc89116bb1ca997bef56f6e938f4f6080ee4f878;hpb=ab997aaeb9cf7a0da1cecc46c5bb6c7262416917;p=powerpc.git diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index dc89116bb1..3e8b1cf543 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -1,7 +1,6 @@ #ifndef _LINUX_SECCOMP_H #define _LINUX_SECCOMP_H -#include #ifdef CONFIG_SECCOMP @@ -26,11 +25,7 @@ static inline int has_secure_computing(struct thread_info *ti) #else /* CONFIG_SECCOMP */ -#if (__GNUC__ > 2) - typedef struct { } seccomp_t; -#else - typedef struct { int gcc_is_buggy; } seccomp_t; -#endif +typedef struct { } seccomp_t; #define secure_computing(x) do { } while (0) /* static inline to preserve typechecking */