OSDN Git Service

Use correct type for pci_id file accessor functions
authorMathias Krause <mathias.krause@secunet.com>
Fri, 24 Feb 2012 08:39:31 +0000 (09:39 +0100)
committerJeremy Huddleston <jeremyhu@apple.com>
Fri, 24 Feb 2012 22:22:04 +0000 (14:22 -0800)
commit2a58cd13c3d14cd2ea57826b56e9906ecfc5648a
tree8201229d2724638ae4852a2105372128785264cc
parent167ffb1c4e431763e30c894131e704bb3599c7c1
Use correct type for pci_id file accessor functions

This fixes the compiler warning of using the wrong type for gzgets() and
gzclose() as they want a gzFile argument, not a pointer to gzFile. The
abstraction layer pci_id_file should just abstract the full type.

Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
src/common_device_name.c