Index: trunk/src/global.h =================================================================== --- trunk/src/global.h (revision 3963) +++ trunk/src/global.h (revision 3964) @@ -180,7 +180,7 @@ typedef struct plug_io_s plug_io_t; -typedef struct { /* holds all objects */ +struct data_st { /* holds all objects */ int LayerN; /* number of layers in this board */ pinlist_t Via; elementlist_t Element; @@ -190,7 +190,7 @@ struct PCBType *pcb; LayerType Layer[MAX_LAYER + 2]; /* add 2 silkscreen layers */ plug_io_t *loader; -} DataType, *DataTypePtr; +}; typedef struct { /* holds drill information */ Coord DrillSize; /* this drill's diameter */ Index: trunk/src/global_typedefs.h =================================================================== --- trunk/src/global_typedefs.h (revision 3963) +++ trunk/src/global_typedefs.h (revision 3964) @@ -35,8 +35,8 @@ typedef struct element_st ElementType, *ElementTypePtr, **ElementTypeHandle; typedef struct net_st NetType, *NetTypePtr; typedef struct layer_st LayerType, *LayerTypePtr; +typedef struct data_st DataType, *DataTypePtr; - typedef unsigned int pcb_cardinal_t; typedef unsigned char pcb_uint8_t; /* Don't use in new code. */