[PATCH 0/3] staging: fix non-ANSI function prototypes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux