summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
authorElvira Khabirova <lineprinter0@gmail.com>2015-07-10 22:24:58 +0300
committerDmitry V. Levin <ldv@altlinux.org>2015-07-12 22:31:49 +0000
commit483c15f4bec9c28c34fdf9cd5ffd86ff7f43b928 (patch)
treea700bc7837ba7e0303d45a5c20b3672c8adf2167 /sock.c
parent28e32df56f4df8de8668c80cc13fd5359d90ed9d (diff)
downloadstrace-483c15f4bec9c28c34fdf9cd5ffd86ff7f43b928.tar.gz
Change comparisons with function pointers to comparisons with SENs
* pathtrace.c (pathtrace_match): Change all comparisons with function pointers to a single SEN based switch. * syscall.c (dumpio, trace_syscall_entering): Change all comparisons with function pointers to comparisons with SENs. * ipc.c (sys_ipc): Remove. * sock.c (sys_socketcall): Likewise. * linux/dummy.h (sys_ipc, sys_socketcall): New aliases.
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sock.c b/sock.c
index 97d8afa6c..4da530227 100644
--- a/sock.c
+++ b/sock.c
@@ -348,8 +348,3 @@ sock_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
return RVAL_DECODED | 1;
}
-
-SYS_FUNC(socketcall)
-{
- return printargs(tcp);
-}