Module: ngircd.git Branch: master Commit: a68103771ccdf041c426277bc3a1f8dc345f3642 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=a6810...
Author: Alexander Barton alex@barton.de Date: Sat Jun 26 00:31:08 2010 +0200
const'ify Client_TypeText()
---
src/ngircd/client.c | 2 +- src/ngircd/client.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/client.c b/src/ngircd/client.c index 671bf6c..7cf10da 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -1104,7 +1104,7 @@ Client_RegisterWhowas( CLIENT *Client ) } /* Client_RegisterWhowas */
-GLOBAL char * +GLOBAL const char * Client_TypeText(CLIENT *Client) { assert(Client != NULL); diff --git a/src/ngircd/client.h b/src/ngircd/client.h index 1064917..90fd6f2 100644 --- a/src/ngircd/client.h +++ b/src/ngircd/client.h @@ -146,7 +146,7 @@ GLOBAL int Client_GetLastWhowasIndex PARAMS(( void ));
GLOBAL void Client_RegisterWhowas PARAMS(( CLIENT *Client ));
-GLOBAL char * Client_TypeText PARAMS((CLIENT *Client)); +GLOBAL const char *Client_TypeText PARAMS((CLIENT *Client));
#endif
ngircd-commits@lists.barton.de