diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2015-02-13 00:26:38 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-02-13 18:27:58 +0000 |
commit | fadf379b8e3618585cecad447867af27930ac5e3 (patch) | |
tree | 7f4daf65cea8a6d86e5c0c31652180ff2a40f18d /wait.c | |
parent | d8b3404555b9a324610d0caaa0b9237f14605818 (diff) | |
download | strace-fadf379b8e3618585cecad447867af27930ac5e3.tar.gz |
Move all ptrace-related macros and declarations from defs.h to ptrace.h
* ptrace.h: New file.
* Makefile.am (strace_SOURCES): Add it.
* configure.ac (AC_CHECK_HEADERS): Remove linux/ptrace.h and sys/ptrace.h.
* defs.h: Do not include <sys/ptrace.h> and <asm/ptrace.h>.
Remove definitions of PTRACE_* macros.
* process.c: Remove <linux/ptrace.h> workarounds, include "ptrace.h".
* signal.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.
* strace.c: Include "ptrace.h".
* wait.c: Likewise.
Diffstat (limited to 'wait.c')
-rw-r--r-- | wait.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ # define W_CONTINUED 0xffff #endif +#include "ptrace.h" #include "xlat/ptrace_events.h" static int |