make one formal param const

This commit is contained in:
ehouse 2005-05-29 19:31:09 +00:00
parent 3296642486
commit 844cab6e5d
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ stringToStream( XWStreamCtxt* stream, XP_UCHAR* str )
*
****************************************************************************/
XP_UCHAR*
copyString( MPFORMAL XP_UCHAR* instr )
copyString( MPFORMAL const XP_UCHAR* instr )
{
XP_UCHAR* result = (XP_UCHAR*)NULL;
if ( !!instr ) {

View file

@ -41,7 +41,7 @@ XP_UCHAR* stringFromStream( MPFORMAL XWStreamCtxt* stream );
XP_U16 stringFromStreamHere( XWStreamCtxt* stream, XP_UCHAR* buf, XP_U16 len );
void stringToStream( XWStreamCtxt* stream, XP_UCHAR* str );
XP_UCHAR* copyString( MPFORMAL XP_UCHAR* instr );
XP_UCHAR* copyString( MPFORMAL const XP_UCHAR* instr );
void replaceStringIfDifferent( MPFORMAL XP_UCHAR** curLoc, XP_UCHAR* newStr );
XP_UCHAR* emptyStringIfNull( XP_UCHAR* str );