mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
make one formal param const
This commit is contained in:
parent
4095acc327
commit
06e28770d1
2 changed files with 2 additions and 2 deletions
|
@ -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 ) {
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue