const'ify Conn_WriteStr() function

This commit is contained in:
Alexander Barton 2010-06-26 00:44:37 +02:00
parent c6742192a6
commit edfa215481
2 changed files with 4 additions and 4 deletions

View File

@ -809,12 +809,12 @@ Conn_Handler(void)
*/
#ifdef PROTOTYPES
GLOBAL bool
Conn_WriteStr( CONN_ID Idx, char *Format, ... )
Conn_WriteStr(CONN_ID Idx, const char *Format, ...)
#else
GLOBAL bool
Conn_WriteStr( Idx, Format, va_alist )
Conn_WriteStr(Idx, Format, va_alist)
CONN_ID Idx;
char *Format;
const char *Format;
va_dcl
#endif
{

View File

@ -107,7 +107,7 @@ GLOBAL void Conn_ExitListeners PARAMS(( void ));
GLOBAL void Conn_Handler PARAMS(( void ));
GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, char *Format, ... ));
GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, const char *Format, ... ));
GLOBAL void Conn_Close PARAMS(( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient ));