summaryrefslogtreecommitdiff
path: root/tests/getgroups.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-04-21 18:20:47 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-04-21 22:05:57 +0000
commit96a9ff5746563f46cf3c59709509ad44d6d959ce (patch)
tree26c3914e4384565679279be1a836e16a5e76a698 /tests/getgroups.c
parente5297aeb131a408637d6dbc6b5308d390d7588a6 (diff)
downloadstrace-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/getgroups.c')
-rw-r--r--tests/getgroups.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/getgroups.c b/tests/getgroups.c
index c99b70ccd..f3611fb7b 100644
--- a/tests/getgroups.c
+++ b/tests/getgroups.c
@@ -54,7 +54,6 @@
#ifdef GID_TYPE
-# include <errno.h>
# include <stdio.h>
# include <unistd.h>