From 41831cfa1ec9a17a0e152ab8abdc87c400fec69b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 1 Oct 2009 07:48:29 +0000 Subject: reduce structure size by packing together the bit booleans further, which shrinks the struct size from 64 to 56 bytes (12.5%) --- libldetect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libldetect.h') 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; -- cgit v1.2.1