diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-04-21 18:20:47 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-04-21 22:05:57 +0000 |
commit | 96a9ff5746563f46cf3c59709509ad44d6d959ce (patch) | |
tree | 26c3914e4384565679279be1a836e16a5e76a698 /tests/xetpriority.c | |
parent | e5297aeb131a408637d6dbc6b5308d390d7588a6 (diff) | |
download | strace-96a9ff5746563f46cf3c59709509ad44d6d959ce.tar.gz |
tests: do not include <errno.h> unnecessarily
Automatically change tests/*.c files using the following script:
for f in tests/*.c; do
grep -Fv errno.h "$f" |
grep -Ewq '(si_)?errno|SOCK_FILTER_DENY_SYSCALL' ||
sed -i '/# *include *<errno\.h>/d' "$f"
done
Diffstat (limited to 'tests/xetpriority.c')
-rw-r--r-- | tests/xetpriority.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/xetpriority.c b/tests/xetpriority.c index 714dde352..a32b03160 100644 --- a/tests/xetpriority.c +++ b/tests/xetpriority.c @@ -3,7 +3,6 @@ #if defined __NR_getpriority && defined __NR_setpriority -# include <errno.h> # include <stdio.h> # include <sys/resource.h> # include <unistd.h> |