Skip to contentSkip to conversation

staging: usbip: fix non-ANSI function prototypes.

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 17e08e0..30df056 100644
@@ -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
index 25e62e9f..499abed 100644
@@ -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