summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-11-01 00:02:16 +0000
committerwtc%netscape.com <devnull@localhost>2001-11-01 00:02:16 +0000
commit043e2177e4d90489320fceb2699ae9c7fcbe7c3a (patch)
treeaeffad5f68239357c9140195612f5b3fd424b092
parent6ec6e81fe9c6d72770c3c57f3993b47c512e295f (diff)
downloadnspr-hg-043e2177e4d90489320fceb2699ae9c7fcbe7c3a.tar.gz
Use PL_strcmp instead of strcmp to avoid having to include <string.h>.
-rw-r--r--lib/tests/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/string.c b/lib/tests/string.c
index 0e2c3a55..ec839752 100644
--- a/lib/tests/string.c
+++ b/lib/tests/string.c
@@ -3038,7 +3038,7 @@ PRBool test_031(void)
s1 = string;
while( (token = PL_strtok_r(s1, s2, &lasts)) != NULL)
{
- if( strcmp(token, tokens[i]) != 0 )
+ if( PL_strcmp(token, tokens[i]) != 0 )
{
printf("FAIL wrong token scanned\n");
return PR_FALSE;