summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-03-17 03:17:15 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-03-17 03:17:15 +0100
commit3da9693b81db07da14e3e3364f81a6f4d4c26597 (patch)
tree6b9cc66412e90d564d9c6c2c262866559ff41f42 /syscall.c
parent081533c10048365a2a8ffd2456af81765d402810 (diff)
downloadstrace-3da9693b81db07da14e3e3364f81a6f4d4c26597.tar.gz
strace-3da9693b81db07da14e3e3364f81a6f4d4c26597.tar.bz2
strace-3da9693b81db07da14e3e3364f81a6f4d4c26597.tar.xz
Remove unused constants. No code changes
* syscall.c: Remove unused ENOIOCTLCMD constant. Fix indentation. * util.c: Remove unused CLONE_STOPPED constant. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/syscall.c b/syscall.c
index 015b35c..6737f28 100644
--- a/syscall.c
+++ b/syscall.c
@@ -68,16 +68,13 @@
#ifndef ERESTARTSYS
# define ERESTARTSYS 512
#endif
-# ifndef ERESTARTNOINTR
+#ifndef ERESTARTNOINTR
# define ERESTARTNOINTR 513
#endif
-# ifndef ERESTARTNOHAND
-# define ERESTARTNOHAND 514 /* restart if no handler.. */
+#ifndef ERESTARTNOHAND
+# define ERESTARTNOHAND 514 /* restart if no handler */
#endif
-# ifndef ENOIOCTLCMD
-# define ENOIOCTLCMD 515 /* No ioctl command */
-#endif
-# ifndef ERESTART_RESTARTBLOCK
+#ifndef ERESTART_RESTARTBLOCK
# define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
#endif