summaryrefslogtreecommitdiff
path: root/term.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2009-12-31 22:50:49 +0000
committerDmitry V. Levin <ldv@altlinux.org>2010-02-04 22:40:57 +0000
commite5e60858063f214fcd7860f50f8bcb46f951f9ab (patch)
treed28f159c54c3ee43663b688be6943f78b0bf65eb /term.c
parent257e15737d8f0550d9ab01c039047d37bc823cbd (diff)
downloadstrace-e5e60858063f214fcd7860f50f8bcb46f951f9ab.tar.gz
Remove dead code
* defs.h (tv_tv): Remove. * net.c (sys_xsetsockaddr): Remove commented out dead code. * process.c (setarg, sys_execv, sys_execve, struct_user_offsets): Likewise. * signal.c (sys_sigsuspend): Likewise. * strace.c (reaper, trace): Likewise. * stream.c (internal_stream_ioctl): Likewise. * syscall.c (trace_syscall): Likewise. * term.c (term_ioctl): Likewise. * util.c (tv_tv, umoven, uload, getpc, fixvfork, setbpt, clearbpt): Likewise.
Diffstat (limited to 'term.c')
-rw-r--r--term.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/term.c b/term.c
index 3c242505a..23d2317f5 100644
--- a/term.c
+++ b/term.c
@@ -178,10 +178,7 @@ static const struct xlat modem_flags[] = {
};
-int
-term_ioctl(tcp, code, arg)
-struct tcb *tcp;
-long code, arg;
+int term_ioctl(struct tcb *tcp, long code, long arg)
{
struct termios tios;
#ifndef FREEBSD
@@ -417,14 +414,6 @@ long code, arg;
printnum_int(tcp, arg, "%d");
return 1;
-#if 0
- /* ioctls with an indirect parameter displayed in hex */
-
- tprintf(", ");
- printnum(tcp, arg, "%#x");
- return 1;
-#endif
-
/* ioctls with an indirect parameter displayed as a char */
#ifdef TIOCSTI