]> granicus.if.org Git - strace/blobdiff - term.c
"Modernize" all old-style function parameter declarations
[strace] / term.c
diff --git a/term.c b/term.c
index 3c242505aca209d9db3b99e71bab2e36b0971b62..23d2317f5161246e265b1c47335555066783700b 100644 (file)
--- 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