1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-14 02:40:27 +00:00

constify Client_Search() argument.

This commit is contained in:
Florian Westphal 2008-05-03 21:20:02 +02:00
parent 83bfdddf99
commit 98a8ea105c
2 changed files with 2 additions and 2 deletions

View File

@ -530,7 +530,7 @@ Client_ModeDel( CLIENT *Client, char Mode )
GLOBAL CLIENT * GLOBAL CLIENT *
Client_Search( char *Nick ) Client_Search( const char *Nick )
{ {
/* return Client-Structure that has the corresponding Nick. /* return Client-Structure that has the corresponding Nick.
* If none is found, return NULL. * If none is found, return NULL.

View File

@ -85,7 +85,7 @@ GLOBAL CLIENT *Client_ThisServer PARAMS(( void ));
GLOBAL CLIENT *Client_GetFromToken PARAMS(( CLIENT *Client, int Token )); GLOBAL CLIENT *Client_GetFromToken PARAMS(( CLIENT *Client, int Token ));
GLOBAL CLIENT *Client_Search PARAMS(( char *ID )); GLOBAL CLIENT *Client_Search PARAMS(( const char *ID ));
GLOBAL CLIENT *Client_First PARAMS(( void )); GLOBAL CLIENT *Client_First PARAMS(( void ));
GLOBAL CLIENT *Client_Next PARAMS(( CLIENT *c )); GLOBAL CLIENT *Client_Next PARAMS(( CLIENT *c ));