]> arthur.barton.de Git - ngircd-alex.git/commitdiff
const'ify Client_TypeText()
authorAlexander Barton <alex@barton.de>
Fri, 25 Jun 2010 22:31:08 +0000 (00:31 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 25 Jun 2010 22:31:08 +0000 (00:31 +0200)
src/ngircd/client.c
src/ngircd/client.h

index 671bf6cef5b5fed0e6f855baa2b98d5b8a447aaa..7cf10da6e23666df2ac3fbb5b9bf38a7ba700d53 100644 (file)
@@ -1104,7 +1104,7 @@ Client_RegisterWhowas( CLIENT *Client )
 } /* Client_RegisterWhowas */
 
 
-GLOBAL char *
+GLOBAL const char *
 Client_TypeText(CLIENT *Client)
 {
        assert(Client != NULL);
index 106491741de783dcd9cf89b0b4308d71b3924a64..90fd6f286832a3d2faf67bc22b15b58b42d35b58 100644 (file)
@@ -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