commit a68103771ccdf041c426277bc3a1f8dc345f3642 from: Alexander Barton date: Fri Jun 25 22:31:08 2010 UTC const'ify Client_TypeText() commit - 8ad1c23ae453e2f8ff95bccfdabdfed688539760 commit + a68103771ccdf041c426277bc3a1f8dc345f3642 blob - 671bf6cef5b5fed0e6f855baa2b98d5b8a447aaa blob + 7cf10da6e23666df2ac3fbb5b9bf38a7ba700d53 --- src/ngircd/client.c +++ 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); blob - 106491741de783dcd9cf89b0b4308d71b3924a64 blob + 90fd6f286832a3d2faf67bc22b15b58b42d35b58 --- src/ngircd/client.h +++ 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