summaryrefslogtreecommitdiffstats
path: root/libldetect.h
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-06-10 18:39:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-06-10 18:39:59 +0000
commit87078193e81d61fb5c19de52bdf1db9a331120dd (patch)
tree0f8a67829febd9c1fd082965b94f7ea1b1b789c5 /libldetect.h
parent83c30b339bde284b38417ec2e44027f259be72ce (diff)
downloadldetect-87078193e81d61fb5c19de52bdf1db9a331120dd.tar
ldetect-87078193e81d61fb5c19de52bdf1db9a331120dd.tar.gz
ldetect-87078193e81d61fb5c19de52bdf1db9a331120dd.tar.bz2
ldetect-87078193e81d61fb5c19de52bdf1db9a331120dd.tar.xz
ldetect-87078193e81d61fb5c19de52bdf1db9a331120dd.zip
ensure the header file are C++ compliant (do not use "class" for struct field name)
Diffstat (limited to 'libldetect.h')
-rw-r--r--libldetect.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libldetect.h b/libldetect.h
index 4733d9e..7020332 100644
--- a/libldetect.h
+++ b/libldetect.h
@@ -7,7 +7,7 @@ struct pciusb_entry {
unsigned short subvendor; /* 0xffff if not probe_type'd or no subid */
unsigned short subdevice; /* 0xffff if not probe_type'd or no subid */
- unsigned long class; /* 0 if not probe_type'd */
+ unsigned long class_; /* 0 if not probe_type'd */
unsigned short pci_bus; /* pci bus id 8 bits wide */
unsigned short pci_device; /* pci device id 5 bits wide */
@@ -28,10 +28,10 @@ extern void pciusb_free(struct pciusb_entries entries);
/* pci ************************************************************************/
/******************************************************************************/
extern struct pciusb_entries pci_probe(int probe_type); /* probe_type is boolean */
-extern const char *pci_class2text(unsigned long class);
+extern const char *pci_class2text(unsigned long class_);
/******************************************************************************/
/* usb ************************************************************************/
/******************************************************************************/
extern struct pciusb_entries usb_probe(void);
-extern const char *usb_class2text(unsigned long class);
+extern const char *usb_class2text(unsigned long class_);