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:
parent
83bfdddf99
commit
98a8ea105c
@ -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.
|
||||||
|
@ -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 ));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user