summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-08-09 11:28:38 +0200
committerJulien Cristau <jcristau@debian.org>2009-08-09 11:28:38 +0200
commit76363486864b325b8f156ece35736ddb64c4e697 (patch)
tree24e68c307c9ffd40d0c2462e80eb79fbfe89bd5f
parent4eac0173588ab9ef67fcadb47b531abb114aa0a7 (diff)
Silence compiler warning about pci_id_file_open definition
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
-rw-r--r--src/common_device_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common_device_name.c b/src/common_device_name.c
index be601ed..896a8a3 100644
--- a/src/common_device_name.c
+++ b/src/common_device_name.c
@@ -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;