From: Dmitry V. Levin Date: Tue, 20 Dec 2016 14:58:57 +0000 (+0000) Subject: Remove NEED_PTRACE_PROTOTYPE_WORKAROUND X-Git-Tag: v4.16~315 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf3a69ac75fccf1e19014e5e1e67923782d7af0a;p=strace Remove NEED_PTRACE_PROTOTYPE_WORKAROUND Remove the workaround for broken ptrace prototypes that seems to be unneeded for quite a long time. * defs.h [NEED_PTRACE_PROTOTYPE_WORKAROUND]: Remove. --- diff --git a/ptrace.h b/ptrace.h index ddb46cb4..ce4fd9af 100644 --- a/ptrace.h +++ b/ptrace.h @@ -36,14 +36,7 @@ #ifndef STRACE_PTRACE_H #define STRACE_PTRACE_H -#ifdef NEED_PTRACE_PROTOTYPE_WORKAROUND -# define ptrace xptrace -# include -# undef ptrace -extern long ptrace(int, int, char *, long); -#else -# include -#endif +#include #ifdef HAVE_STRUCT_IA64_FPREG # define ia64_fpreg XXX_ia64_fpreg