To check compile with -Wpadded
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1701
ffa7fe5e-494d-0410-b361-
a75ebd5db220
static struct cache *file_cache;
struct file_cache_id {
- long long offset;
int size;
int file_name_id;
int method;
+ long long offset;
};
struct file *
#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__
long map_handle;
long map_file;
#endif
- struct file *next;
+ char *name;
};
/* prototypes */
#include "item.h"
struct transformation {
- long scale; /* Scale factor */
int angle; /* Rotation angle */
double cos_val,sin_val; /* cos and sin of rotation angle */
- enum projection pro;
struct map_selection *map_sel;
struct map_selection *screen_sel;
struct point screen_center;
struct coord map_center; /* Center of source rectangle */
+ enum projection pro;
+ long scale; /* Scale factor */
};
struct transformation *