Silence compiler warning about pci_id_file_open definition
authorJulien Cristau <jcristau@debian.org>
Sun, 9 Aug 2009 09:28:38 +0000 (11:28 +0200)
committerJulien Cristau <jcristau@debian.org>
Sun, 9 Aug 2009 09:28:38 +0000 (11:28 +0200)
src/common_device_name.c:59: warning: function declaration isn't a prototype
src/common_device_name.c: In function 'pci_id_file_open':
src/common_device_name.c:59: warning: old-style function definition

src/common_device_name.c

index be601ed..896a8a3 100644 (file)
@@ -55,7 +55,7 @@
 typedef gzFile pci_id_file;
 
 static pci_id_file
-pci_id_file_open()
+pci_id_file_open(void)
 {
     pci_id_file result;