diff options
author | wtc%netscape.com <devnull@localhost> | 2001-11-01 00:02:16 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-11-01 00:02:16 +0000 |
commit | 043e2177e4d90489320fceb2699ae9c7fcbe7c3a (patch) | |
tree | aeffad5f68239357c9140195612f5b3fd424b092 | |
parent | 6ec6e81fe9c6d72770c3c57f3993b47c512e295f (diff) | |
download | nspr-hg-043e2177e4d90489320fceb2699ae9c7fcbe7c3a.tar.gz |
Use PL_strcmp instead of strcmp to avoid having to include <string.h>.
-rw-r--r-- | lib/tests/string.c | 2 |
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; |