]> granicus.if.org Git - strace/commitdiff
Convert ioctl_next_match() to new-style C function definition
authorDenys Vlasenko <dvlasenk@redhat.com>
Sat, 20 Aug 2011 00:27:18 +0000 (02:27 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Tue, 23 Aug 2011 10:53:01 +0000 (12:53 +0200)
* ioctl.c (ioctl_next_match): Convert to new-style C function definition.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
ioctl.c

diff --git a/ioctl.c b/ioctl.c
index 153e5dfba965b92a97091f36978f3ea65d3be2a5..122f31ab7c269dbb298642edcd604f867d6010fd 100644 (file)
--- a/ioctl.c
+++ b/ioctl.c
@@ -64,8 +64,7 @@ ioctl_lookup(long code)
 }
 
 const struct ioctlent *
-ioctl_next_match(iop)
-const struct ioctlent *iop;
+ioctl_next_match(const struct ioctlent *iop)
 {
        long code;