mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
make one formal param const
This commit is contained in:
parent
3296642486
commit
844cab6e5d
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