X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fseccomp.h;h=cd2773b29a642bb53c73e7c0dfe798b662b6733c;hb=0825788ff27c7145e9d558cb2a26f3837d1f9be5;hp=dc89116bb1ca997bef56f6e938f4f6080ee4f878;hpb=62778ba1aa2589dc78c36a32edc6f5a6ccaf50c6;p=mv-sheeva.git diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index dc89116bb1c..cd2773b29a6 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -26,11 +26,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 */