diff --git a/include/QF/pr_comp.h b/include/QF/pr_comp.h index 430c5487b..01b061b74 100644 --- a/include/QF/pr_comp.h +++ b/include/QF/pr_comp.h @@ -308,7 +308,7 @@ extern opcode_t pr_opcodes[]; opcode_t *PR_Opcode (pr_short_t opcode); void PR_Opcode_Init (void); -typedef struct statement_s { +typedef struct dstatement_s { pr_opcode_e op:16; pr_ushort_t a,b,c; } dstatement_t; diff --git a/tools/qfcc/include/codespace.h b/tools/qfcc/include/codespace.h index 81334ef64..51a9e1053 100644 --- a/tools/qfcc/include/codespace.h +++ b/tools/qfcc/include/codespace.h @@ -33,15 +33,15 @@ #define __codespace_h typedef struct codespace_s { - struct statement_s *code; + struct dstatement_s *code; int size; int max_size; } codespace_t; codespace_t *codespace_new (void); void codespace_delete (codespace_t *codespace); -void codespace_addcode (codespace_t *codespace, struct statement_s *code, +void codespace_addcode (codespace_t *codespace, struct dstatement_s *code, int size); -struct statement_s *codespace_newstatement (codespace_t *codespace); +struct dstatement_s *codespace_newstatement (codespace_t *codespace); #endif//__codespace_h