commit | 8d3f3ef815cf9012ad54a0e0bda21aed8e7afa33 | [log] [tgz] |
---|---|---|
author | Gustavo Sverzut Barbieri <barbieri@profusion.mobi> | Fri Dec 02 21:10:24 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Sat Dec 03 03:56:02 2011 -0200 |
tree | 310f640bc372f95e429eb7ec02d8736257216ded | |
parent | 91b44c77aea58271fae7a62cb3d1f9ca8943eb7d [diff] [blame] |
reorder struct fields to avoid holes, improving packing
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c index 969d304..ac815b2 100644 --- a/libkmod/libkmod-module.c +++ b/libkmod/libkmod-module.c
@@ -42,11 +42,10 @@ */ struct kmod_module { struct kmod_ctx *ctx; - int refcount; const char *path; const char *name; struct kmod_list *dep; - + int refcount; struct { bool dep : 1; } init;