From f48a7610eef092d8ce5c6b2ae761571745a9db3e Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 5 Aug 2017 19:06:54 +0200 Subject: constize a bunch of input-only pointer function-arguments --- src/game/g_local.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/g_local.h') 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 ); // -- cgit