diff --git a/include/QF/pr_comp.h b/include/QF/pr_comp.h index 5eeb57241..752fd71ce 100644 --- a/include/QF/pr_comp.h +++ b/include/QF/pr_comp.h @@ -256,8 +256,7 @@ typedef enum { OP_GT_P, } pr_opcode_e; -typedef struct opcode_s -{ +typedef struct opcode_s { const char *name; const char *opname; pr_opcode_e opcode; @@ -270,14 +269,12 @@ extern opcode_t pr_opcodes[]; opcode_t *PR_Opcode (short opcode); void PR_Opcode_Init (void); -typedef struct statement_s -{ +typedef struct statement_s { unsigned short op; unsigned short a,b,c; } dstatement_t; -typedef struct ddef_s -{ +typedef struct ddef_s { unsigned short type; // if DEF_SAVEGLOBGAL bit is set // the variable needs to be saved in savegames unsigned short ofs; @@ -288,8 +285,7 @@ typedef struct ddef_s #define MAX_PARMS 8 -typedef struct dfunction_s -{ +typedef struct dfunction_s { int first_statement; // negative numbers are builtins int parm_start; int locals; // total ints of parms + locals @@ -307,8 +303,7 @@ typedef struct dfunction_s #define PROG_ID_VERSION 6 #define PROG_VERSION 0x00fff002 // MMmmmRRR 0.fff.002 (hex) -typedef struct dprograms_s -{ +typedef struct dprograms_s { int version; int crc; // check of header file