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.
This commit is contained in:
Дмитрий Левин 2016-12-20 14:58:57 +00:00
parent 000fdc4b89
commit bf3a69ac75

View File

@ -36,14 +36,7 @@
#ifndef STRACE_PTRACE_H
#define STRACE_PTRACE_H
#ifdef NEED_PTRACE_PROTOTYPE_WORKAROUND
# define ptrace xptrace
# include <sys/ptrace.h>
# undef ptrace
extern long ptrace(int, int, char *, long);
#else
# include <sys/ptrace.h>
#endif
#include <sys/ptrace.h>
#ifdef HAVE_STRUCT_IA64_FPREG
# define ia64_fpreg XXX_ia64_fpreg