summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-05 10:36:49 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-05 10:36:49 +0000
commitd78ee83b7bb82c2914e4d61b6a6231cb190ad3ab (patch)
treec876be78c274bc690524347c724fdb18fa6c6d3a
parent8d82e90001deaba936b239e533f3f81148703f89 (diff)
downloadldetect-d78ee83b7bb82c2914e4d61b6a6231cb190ad3ab.tar
ldetect-d78ee83b7bb82c2914e4d61b6a6231cb190ad3ab.tar.gz
ldetect-d78ee83b7bb82c2914e4d61b6a6231cb190ad3ab.tar.bz2
ldetect-d78ee83b7bb82c2914e4d61b6a6231cb190ad3ab.tar.xz
ldetect-d78ee83b7bb82c2914e4d61b6a6231cb190ad3ab.zip
fix warning
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index a79adfd..57f67ab 100644
--- a/pci.c
+++ b/pci.c
@@ -50,7 +50,7 @@ char* get_pci_description(int vendor_id, int device_id) {
}
// fake two PCI controllers for xen
-static detect_xen(struct pciusb_entries *r) {
+static void detect_xen(struct pciusb_entries *r) {
struct stat sb;
if (stat("/sys/bus/xen", &sb) != 0)
return;