diff --git a/include/QF/progs/pr_comp.h b/include/QF/progs/pr_comp.h index 5d66fc323..22d7e0dc8 100644 --- a/include/QF/progs/pr_comp.h +++ b/include/QF/progs/pr_comp.h @@ -534,6 +534,8 @@ typedef union pr_type_u { pr_uint_t uint_var; } pr_type_t; +typedef pr_type_t pr_void_t; // so size of void is 1 + typedef struct pr_va_list_s { pr_int_t count; pr_ptr_t list; // pr_type_t diff --git a/libs/gamecode/pr_opcode.c b/libs/gamecode/pr_opcode.c index c056297a9..799066c7c 100644 --- a/libs/gamecode/pr_opcode.c +++ b/libs/gamecode/pr_opcode.c @@ -33,8 +33,6 @@ #include "QF/progs.h" -typedef pr_type_t pr_void_t; // so size of void is 1 - #define EV_TYPE(type) (sizeof (pr_##type##_t) / sizeof (pr_int_t)), VISIBLE const pr_ushort_t pr_type_size[ev_type_count] = { #include "QF/progs/pr_type_names.h"