diff options
author | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-08 19:31:47 +0000 |
---|---|---|
committer | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-08 19:31:47 +0000 |
commit | 8672a2b259805117d5a85cb80584638d27370ff8 (patch) | |
tree | e086dc746c43d86afc0bfd4f70e0a47a5d70d9a8 /navit/file.h | |
parent | 71befebe28bcb95ff1c8001bff98986987aff9e8 (diff) | |
download | navit-8672a2b259805117d5a85cb80584638d27370ff8.tar.gz |
Fix:core: Change structure members order to be alligned|
To check compile with -Wpadded
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1701 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.h')
-rw-r--r-- | navit/file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/file.h b/navit/file.h index 7c811aa1c..79f211d1c 100644 --- a/navit/file.h +++ b/navit/file.h @@ -29,10 +29,10 @@ #include "param.h" struct file { + struct file *next; unsigned char *begin; unsigned char *end; long long size; - char *name; int name_id; int fd; #ifndef __CEGCC__ @@ -44,7 +44,7 @@ struct file { long map_handle; long map_file; #endif - struct file *next; + char *name; }; /* prototypes */ |