1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Remove unnecessary externs from network func forward decls

Forward declarations are already externed, there's no need to have an
extern keyword here.
This commit is contained in:
Misa 2020-08-02 20:38:16 -07:00 committed by Ethan Lee
parent bf64b95416
commit a35bc9d8dc

View file

@ -26,12 +26,12 @@
#define NUM_BACKENDS (STEAM_NUM+GOG_NUM)
#define DECLARE_BACKEND(name) \
extern int32_t name##_init(); \
extern void name##_shutdown(); \
extern void name##_update(); \
extern void name##_unlockAchievement(); \
extern int32_t name##_getAchievementProgress(const char *name); \
extern void name##_setAchievementProgress(const char *name, int32_t stat);
int32_t name##_init(); \
void name##_shutdown(); \
void name##_update(); \
void name##_unlockAchievement(); \
int32_t name##_getAchievementProgress(const char *name); \
void name##_setAchievementProgress(const char *name, int32_t stat);
#ifdef STEAM_NETWORK
DECLARE_BACKEND(STEAM)
#endif