mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
keys.c (History_Init): Made global again.
(History_Shutdown): Likewise. keys.h: Added prototypes for History_Init and History_Shutdown. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@230 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
5739389db5
commit
b33ac1c08a
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue