staging: usbip: fix non-ANSI function prototypes.
Subsystems (2)
PATCH 1/3 staging: usbip: fix non-ANSI function prototypes.
Add "void" to usbip_names_free() and usbip_vhci_driver_close() which are parameterless functions.
Signed-off-by Cyril Roelandt <[email protected]>
--- drivers/staging/usbip/userspace/libsrc/usbip_common.c | 2 +- drivers/staging/usbip/userspace/libsrc/vhci_driver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/usbip/userspace/libsrc/usbip_common.c +1 -1
@@ -244,7 +244,7 @@ int usbip_names_init(char *f)return names_init (f); } -void usbip_names_free () +void usbip_names_free (void ) {names_free (); }
drivers/staging/usbip/userspace/libsrc/vhci_driver.c +1 -1
@@ -400,7 +400,7 @@ err: } -void usbip_vhci_driver_close () +void usbip_vhci_driver_close (void ) {if (!vhci_driver)return ;
Signature · 1 line
1.8.3.1