VITA: Fix -Wimplicit-function-declaration warning

GCC 14 promotes this to an error.

source/gl_hud.c:1697:2: warning: implicit declaration of function 'Save_Achivements' [-Wimplicit-function-declaration]
 1697 |  Save_Achivements();
      |  ^~~~~~~~~~~~~~~~
This commit is contained in:
Peter0x44 2024-06-17 16:23:44 +01:00
parent 251c34708c
commit a40c8e34d4

View file

@ -1684,6 +1684,9 @@ void HUD_Achievement (void)
} }
// from menu.c
void Save_Achivements(void);
void HUD_Parse_Achievement (int ach) void HUD_Parse_Achievement (int ach)
{ {
if (achievement_list[ach].unlocked) if (achievement_list[ach].unlocked)