summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorlaroche <laroche>2000-08-04 09:41:52 +0000
committerlaroche <laroche>2000-08-04 09:41:52 +0000
commit9755fe7f4f14f9c0d5b3f5cf488c1c180f4679a7 (patch)
treec8e46852bb8000237193a1ae59af66e9d582a473 /isys
parentc805fbd0b0e9fd235d74454957c46086d3d268e7 (diff)
downloadanaconda-9755fe7f4f14f9c0d5b3f5cf488c1c180f4679a7.tar.gz
anaconda-9755fe7f4f14f9c0d5b3f5cf488c1c180f4679a7.tar.xz
anaconda-9755fe7f4f14f9c0d5b3f5cf488c1c180f4679a7.zip
subvendorids,subdeviceids for trimpcitable
Diffstat (limited to 'isys')
-rw-r--r--isys/pci/pciprobe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/isys/pci/pciprobe.c b/isys/pci/pciprobe.c
index de874b95f..65d4e8ed9 100644
--- a/isys/pci/pciprobe.c
+++ b/isys/pci/pciprobe.c
@@ -11,7 +11,7 @@
#include "pciprobe.h"
-struct pciDevice * pciDeviceList = NULL;
+static struct pciDevice * pciDeviceList = NULL;
static int numPciDevices = 0;
static struct pci_access *pacc=NULL;
@@ -36,7 +36,7 @@ static int vendCmp(const void * a, const void * b) {
}
-char *getVendor(unsigned int vendor) {
+static char *getVendor(unsigned int vendor) {
struct pciDevice *searchDev, key;
char *tmpstr;
@@ -128,7 +128,7 @@ int probePciReadDrivers(const char * fn) {
return 0;
}
-struct pciDevice * pciGetDeviceInfo(unsigned int vend, unsigned int dev) {
+static struct pciDevice * pciGetDeviceInfo(unsigned int vend, unsigned int dev) {
struct pciDevice *searchDev, key;
key.vendor = vend;