diff --git a/quakespasm/Quake/keys.c b/quakespasm/Quake/keys.c index 3a3b3337..8fe93ce4 100644 --- a/quakespasm/Quake/keys.c +++ b/quakespasm/Quake/keys.c @@ -683,7 +683,7 @@ void Key_WriteBindings (FILE *f) } -static void History_Init (void) +void History_Init (void) { int i, c; FILE *hf; @@ -717,7 +717,7 @@ static void History_Init (void) } } -static void History_Shutdown (void) +void History_Shutdown (void) { int i; FILE *hf; @@ -757,7 +757,7 @@ void Key_Init (void) History_Init (); #if 0 /* This section of code is now done in History_Init */ - for (i=0 ; i<32 ; i++) + for (i = 0; i < 32; i++) { key_lines[i][0] = ']'; key_lines[i][1] = 0; diff --git a/quakespasm/Quake/keys.h b/quakespasm/Quake/keys.h index 48201757..2bbdefb1 100644 --- a/quakespasm/Quake/keys.h +++ b/quakespasm/Quake/keys.h @@ -155,5 +155,8 @@ void Key_WriteBindings (FILE *f); void Key_SetBinding (int keynum, char *binding); void Key_ClearStates (void); +void History_Init (void); +void History_Shutdown (void); + #endif /* _QUAKE_KEYS_H */