fix inline warnings

This commit is contained in:
Alug committed 2024-01-02 22:13:13 +01:00
1 parent cc62164a7c
commit ce61d00dcf
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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;