diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-09-19 20:01:20 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-09-19 20:44:34 +0400 |
commit | 50550ada74a73d6e2ab1711d602958e1a69d66af (patch) | |
tree | bac7290e313f1a9e5308fd3824df80fc8ed1c9e6 /src/cmd.c | |
parent | 0b2ea4da8201958c7cb802aa4691bc6203e45cea (diff) |
Prevent missing prototype warnings.
Marked some functions static.
Moved some function prototypes into proper header files.
Diffstat (limited to 'src/cmd.c')
-rw-r--r-- | src/cmd.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -219,7 +219,7 @@ static list_t cmd_aliasHash[ALIAS_HASH_SIZE]; Cmd_AliasFind =============== */ -cmdalias_t *Cmd_AliasFind( const char *name ) { +static cmdalias_t *Cmd_AliasFind( const char *name ) { unsigned hash; cmdalias_t *alias; @@ -817,7 +817,7 @@ char *Cmd_ArgsFrom( int from ) { return cmd_args; } -char *Cmd_ArgsRange( int from, int to ) { +static char *Cmd_ArgsRange( int from, int to ) { int i; if( from < 0 || from >= cmd_argc ) { @@ -1306,7 +1306,7 @@ void Cmd_TokenizeString( const char *text, qboolean macroExpand ) { Cmd_Find ============ */ -cmd_function_t *Cmd_Find( const char *name ) { +static cmd_function_t *Cmd_Find( const char *name ) { cmd_function_t *cmd; unsigned hash; @@ -1758,9 +1758,6 @@ static void Cmd_Complete_f( void ) { List_Append( &cmd_hash[hash], &cmd->hashEntry ); } -void Com_Mixed_c( genctx_t *ctx, int argnum ) { -} - static const cmdreg_t c_cmd[] = { { "cmdlist", Cmd_List_f }, { "macrolist", Cmd_MacroList_f }, |