fix inline warnings

This commit is contained in:
Alug committed 2024-01-05 22:03:32 +01:00
1 parent 191dfbe1bd
commit fbe0776b43
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -2487,7 +2487,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;
@@ -3317,7 +3317,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;
+1 -1
View File
@@ -1738,7 +1738,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;