Reorder the members of the structures sensors_feature_data and

sensors_bus_id. This prevents wasting space with padding on 64-bit
systems, saving some memory (128 bytes for sensors_bus_id, nothing
yet for sensors_feature_data but it will come later).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4733 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-08-30 21:23:22 +00:00
1 parent b491ba49d4
commit c00e21cf38
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -113,8 +113,8 @@ typedef struct sensors_chip {
/* Config file bus declaration: the bus type and number, combined with adapter
name */
typedef struct sensors_bus {
sensors_bus_id bus;
char *adapter;
sensors_bus_id bus;
int lineno;
} sensors_bus;