summaryrefslogtreecommitdiff
path: root/bjm.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-05-30 14:00:14 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-05-30 14:00:14 +0200
commit1201426dd43f5b4e12dfe520e2a9c5027d33dc11 (patch)
tree1d89fc672a53494c99e63f320ffda876c4452160 /bjm.c
parent75422766d51cf96ea081977c9d0b26b2ba1a8ade (diff)
downloadstrace-1201426dd43f5b4e12dfe520e2a9c5027d33dc11.tar.gz
strace-1201426dd43f5b4e12dfe520e2a9c5027d33dc11.tar.bz2
strace-1201426dd43f5b4e12dfe520e2a9c5027d33dc11.tar.xz
"Modernize" all old-style function parameter declarations
* bjm.c: Convert all remaining old-style C function definitions to a "modern" form. This does not change any actual code. * io.c: Likewise * ioctl.c: Likewise * net.c: Likewise * proc.c: Likewise * process.c: Likewise * signal.c: Likewise * sock.c: Likewise * strace.c: Likewise * stream.c: Likewise * syscall.c: Likewise * system.c: Likewise * time.c: Likewise * util.c: Likewise Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'bjm.c')
-rw-r--r--bjm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bjm.c b/bjm.c
index 6c948d5..8b41237 100644
--- a/bjm.c
+++ b/bjm.c
@@ -189,8 +189,7 @@ sys_query_module(struct tcb *tcp)
}
int
-sys_create_module(tcp)
-struct tcb *tcp;
+sys_create_module(struct tcb *tcp)
{
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);
@@ -200,8 +199,7 @@ struct tcb *tcp;
}
int
-sys_init_module(tcp)
-struct tcb *tcp;
+sys_init_module(struct tcb *tcp)
{
if (entering(tcp)) {
tprintf("%#lx, ", tcp->u_arg[0]);