summaryrefslogtreecommitdiff
path: root/src/common_device_name.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-02-19 14:45:40 +0100
committerJulien Cristau <jcristau@debian.org>2008-02-27 23:27:23 +0100
commitadc46f65d7a097ea0e8427a2496586a420c99d55 (patch)
tree2380ed9a30e10aaa0a31ffe630d199f34b8030cb /src/common_device_name.c
parent25de45d250811474e86cb9a09caf258aef699196 (diff)
Don't export private symbols.
Diffstat (limited to 'src/common_device_name.c')
-rw-r--r--src/common_device_name.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common_device_name.c b/src/common_device_name.c
index 12f88f5..66c2104 100644
--- a/src/common_device_name.c
+++ b/src/common_device_name.c
@@ -46,6 +46,7 @@
#endif
#include "pciaccess.h"
+#include "pciaccess_private.h"
#define DO_MATCH(a,b) (((a) == PCI_MATCH_ANY) || ((a) == (b)))
@@ -92,7 +93,7 @@ struct pci_device_leaf {
/**
* Root of the PCI vendor ID search tree.
*/
-struct pci_id_node * tree = NULL;
+_pci_hidden struct pci_id_node * tree = NULL;
/**
* Name of the file containing the PCI ID information.