From e7290de83beb3f32557d55132695f021d2526eb4 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sat, 2 Mar 2013 11:30:24 +0100 Subject: [PATCH] Fix compiler warning nfc.c:121: warning: function declaration isn't a prototype nfc.c: In function 'nfc_drivers_init': nfc.c:121: warning: old-style function definition --- libnfc/nfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/nfc.c b/libnfc/nfc.c index 4c0368d..20ed75d 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -117,7 +117,7 @@ struct nfc_driver_list { const struct nfc_driver_list *nfc_drivers = NULL; static void -nfc_drivers_init() +nfc_drivers_init(void) { #if defined (DRIVER_PN53X_USB_ENABLED) nfc_register_driver(&pn53x_usb_driver);