diff --git a/src/p_saveg.c b/src/p_saveg.c index 3ac86eae6..3d1451eec 100644 --- a/src/p_saveg.c +++ b/src/p_saveg.c @@ -2493,7 +2493,7 @@ static inline void LoadLaserThinker(actionf_p1 thinker) // // Loads a lightlevel_t from a save game // -static inline void LoadLightlevelThinker(actionf_p1 thinker) +FUNCINLINE static ATTRINLINE void LoadLightlevelThinker(actionf_p1 thinker) { lightlevel_t *ht = Z_Malloc(sizeof (*ht), PU_LEVSPEC, NULL); ht->thinker.function.acp1 = thinker; @@ -3323,7 +3323,7 @@ static void P_NetArchiveMisc(void) WRITEUINT8(save_p, 0x2e); } -static inline boolean P_NetUnArchiveMisc(void) +FUNCINLINE static ATTRINLINE boolean P_NetUnArchiveMisc(void) { UINT32 pig; INT32 i; diff --git a/src/w_wad.c b/src/w_wad.c index 9490da790..d790b7558 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -1767,7 +1767,7 @@ void *W_CacheLumpName(const char *name, INT32 tag) // Software-only compile cache the data without conversion #ifdef HWRENDER -static inline void *W_CachePatchNumPwad(UINT16 wad, UINT16 lump, INT32 tag) +FUNCINLINE static ATTRINLINE void *W_CachePatchNumPwad(UINT16 wad, UINT16 lump, INT32 tag) { GLPatch_t *grPatch;