Skip to contentSkip to conversation

staging: fix non-ANSI function prototypes.

PATCH New Cyril Roelandt 1 participant 1 message Aug 10, 2013 Kernel janitors

lore
Share & tools
lore
#0 lore raw

cover staging: fix non-ANSI function prototypes.

Add "void" to parameterless function prototypes.

Found using the following semantic patch:

<smpl>
@@
identifier f;
@@
-f()
+f(void)
{
...
}
</smpl>

Regards,
Cyril Roelandt.
---

Cyril Roelandt (3):
staging: usbip: fix non-ANSI function prototypes.
staging: ced1401: fix non-ANSI function prototype.
staging: lustre: fix non-ANSI function prototypes.

 drivers/staging/ced1401/userspace/use1401.c                   | 2 +-
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c | 2 +-
 drivers/staging/lustre/lustre/libcfs/lwt.c                    | 4 ++--
 drivers/staging/usbip/userspace/libsrc/usbip_common.c         | 2 +-
 drivers/staging/usbip/userspace/libsrc/vhci_driver.c          | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.3.1