From bf3a69ac75fccf1e19014e5e1e67923782d7af0a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 20 Dec 2016 14:58:57 +0000 Subject: [PATCH] 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. --- ptrace.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 -- 2.40.0