From d3771dfeba5e6e96caa4c16aec1c7c637e61f083 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 4 May 2011 09:31:18 +0900 Subject: [PATCH] Resolve some inlining issues in recent gcc. --- libs/gamecode/engine/pr_opcode.c | 2 +- libs/util/zone.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gamecode/engine/pr_opcode.c b/libs/gamecode/engine/pr_opcode.c index 15f4905b7..18aed9b11 100644 --- a/libs/gamecode/engine/pr_opcode.c +++ b/libs/gamecode/engine/pr_opcode.c @@ -1149,7 +1149,7 @@ error: (long)(st - pr->pr_statements), op->opname); } -static inline void +static void check_global_size (progs_t *pr, dstatement_t *st, opcode_t *op, unsigned short size, unsigned short operand) { diff --git a/libs/util/zone.c b/libs/util/zone.c index c7038427d..260a4c9a2 100644 --- a/libs/util/zone.c +++ b/libs/util/zone.c @@ -674,7 +674,7 @@ Cache_UnlinkLRU (cache_system_t * cs) cs->lru_prev = cs->lru_next = NULL; } -static inline void +static void Cache_MakeLRU (cache_system_t * cs) { if (cs->lru_next || cs->lru_prev)