summaryrefslogtreecommitdiffstats
path: root/libldetect.h
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 07:48:29 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 07:48:29 +0000
commit41831cfa1ec9a17a0e152ab8abdc87c400fec69b (patch)
tree4898c3475055c09a6deedcf85c9f804df6f3f7db /libldetect.h
parent6b716abac7babcd0d6573b16c3b66e6edf2e6d0f (diff)
downloadldetect-41831cfa1ec9a17a0e152ab8abdc87c400fec69b.tar
ldetect-41831cfa1ec9a17a0e152ab8abdc87c400fec69b.tar.gz
ldetect-41831cfa1ec9a17a0e152ab8abdc87c400fec69b.tar.bz2
ldetect-41831cfa1ec9a17a0e152ab8abdc87c400fec69b.tar.xz
ldetect-41831cfa1ec9a17a0e152ab8abdc87c400fec69b.zip
reduce structure size by packing together the bit booleans further,
which shrinks the struct size from 64 to 56 bytes (12.5%)
Diffstat (limited to 'libldetect.h')
-rw-r--r--libldetect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libldetect.h b/libldetect.h
index d2ea217..4578496 100644
--- a/libldetect.h
+++ b/libldetect.h
@@ -21,11 +21,11 @@ struct pciusb_entry {
unsigned short usb_port; /* USB port */
unsigned short is_pciexpress:1; /* is it PCI express */
+ int already_found:1;
char *module;
char *text;
char* class;
- int already_found:1;
};
struct pciusb_entries {
struct pciusb_entry *entries;