diff options
author | /dev/humancontroller <devhc@example.com> | 2017-08-05 19:06:54 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-09-16 20:53:28 +0200 |
commit | f48a7610eef092d8ce5c6b2ae761571745a9db3e (patch) | |
tree | 837d4d972bdce6b962f8cb7a444136fdda18a220 /src/game/g_local.h | |
parent | d4a0c7051b5ee6927e61b6579ba4e8d87ba1862a (diff) |
constize a bunch of input-only pointer function-arguments
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index 5a92ef6..83431c0 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1119,7 +1119,7 @@ char *G_NextNewbieName( gentity_t *ent ); // qboolean ConsoleCommand( void ); void G_ProcessIPBans( void ); -qboolean G_FilterPacket( char *from ); +qboolean G_FilterPacket( const char *from ); // // g_weapon.c @@ -1160,7 +1160,7 @@ qboolean G_Flood_Limited( gentity_t *ent ); // // g_client.c // -char *ClientConnect( int clientNum, qboolean firstTime ); +const char *ClientConnect( int clientNum, qboolean firstTime ); void ClientUserinfoChanged( int clientNum, qboolean forceName ); void ClientDisconnect( int clientNum ); void ClientBegin( int clientNum ); @@ -1200,7 +1200,7 @@ void Svcmd_GameMem_f( void ); // g_session.c // void G_ReadSessionData( gclient_t *client ); -void G_InitSessionData( gclient_t *client, char *userinfo ); +void G_InitSessionData( gclient_t *client, const char *userinfo ); void G_WriteSessionData( void ); // |