const'ify Conn_WriteStr() function
This commit is contained in:
parent
c6742192a6
commit
edfa215481
|
@ -809,12 +809,12 @@ Conn_Handler(void)
|
||||||
*/
|
*/
|
||||||
#ifdef PROTOTYPES
|
#ifdef PROTOTYPES
|
||||||
GLOBAL bool
|
GLOBAL bool
|
||||||
Conn_WriteStr( CONN_ID Idx, char *Format, ... )
|
Conn_WriteStr(CONN_ID Idx, const char *Format, ...)
|
||||||
#else
|
#else
|
||||||
GLOBAL bool
|
GLOBAL bool
|
||||||
Conn_WriteStr(Idx, Format, va_alist)
|
Conn_WriteStr(Idx, Format, va_alist)
|
||||||
CONN_ID Idx;
|
CONN_ID Idx;
|
||||||
char *Format;
|
const char *Format;
|
||||||
va_dcl
|
va_dcl
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
@ -107,7 +107,7 @@ GLOBAL void Conn_ExitListeners PARAMS(( void ));
|
||||||
|
|
||||||
GLOBAL void Conn_Handler 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 ));
|
GLOBAL void Conn_Close PARAMS(( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient ));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue