diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-16 12:01:44 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-16 12:01:44 +0000 |
commit | f55ef46feb20967b065fa683eed70aae5346f87f (patch) | |
tree | ace5ed466e12612511112b26a12826a5026bad2f /syscall.c | |
parent | 2fc39d0a4c55f8b94cdbf818f06b044782744015 (diff) | |
download | strace-f55ef46feb20967b065fa683eed70aae5346f87f.tar.gz |
Include "kernel_types.h" in defs.h and tests/tests.h
As kernel_ulong_t type is going to be used in the definition
of struct tcb and in many function prototypes, make it readily
available for every source file by including "kernel_types.h"
in defs.h and tests/tests.h files.
* defs.h: Include "kernel_types.h".
* tests/tests.h: Likewise.
* desc.c: Do not include "kernel_types.h".
* dirent.c: Likewise.
* keyctl.c: Likewise.
* syscall.c: Likewise.
* linux/asm_stat.h: Likewise.
* tests/answer.c: Likewise.
* tests/epoll_pwait.c: Likewise.
* tests/fanotify_init.c: Likewise.
* tests/fanotify_mark.c: Likewise.
* tests/file_handle.c: Likewise.
* tests/ftruncate.c: Likewise.
* tests/getdents.c: Likewise.
* tests/init_delete_module.h: Likewise.
* tests/inotify.c: Likewise.
* tests/inotify_init1.c: Likewise.
* tests/ioprio.c: Likewise.
* tests/ipc_msgbuf.c: Likewise.
* tests/kcmp.c: Likewise.
* tests/kexec_file_load.c: Likewise.
* tests/kexec_load.c: Likewise.
* tests/keyctl.c: Likewise.
* tests/lookup_dcookie.c: Likewise.
* tests/lseek.c: Likewise.
* tests/mq_sendrecv.c: Likewise.
* tests/nsyscalls.c: Likewise.
* tests/pkey_alloc.c: Likewise.
* tests/pkey_free.c: Likewise.
* tests/pkey_mprotect.c: Likewise.
* tests/prctl-pdeathsig.c: Likewise.
* tests/prctl-tsc.c: Likewise.
* tests/preadv2-pwritev2.c: Likewise.
* tests/process_vm_readv_writev.c: Likewise.
* tests/read-write.c: Likewise.
* tests/setfsugid.c: Likewise.
* tests/setns.c: Likewise.
* tests/truncate.c: Likewise.
* tests/unshare.c: Likewise.
* tests/xgetrlimit.c: Likewise.
Diffstat (limited to 'syscall.c')
-rw-r--r-- | syscall.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1003,8 +1003,6 @@ restore_cleared_syserror(struct tcb *tcp) tcp->u_error = saved_u_error; } -#include "kernel_types.h" - /* * Check the syscall return value register value for whether it is * a negated errno code indicating an error, or a success return value. |