projects
/
platform
/
upstream
/
libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eac017
)
Silence compiler warning about pci_id_file_open definition
author
Julien Cristau
<jcristau@debian.org>
Sun, 9 Aug 2009 09:28:38 +0000
(11:28 +0200)
committer
Julien 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
patch
|
blob
|
history
diff --git
a/src/common_device_name.c
b/src/common_device_name.c
index
be601ed
..
896a8a3
100644
(file)
--- 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;