Subversion Repositories freemyipod

Rev

Rev 72 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 72 Rev 111
Line 1... Line 1...
1
#include "global.h"
1
#include "global.h"
2
#include <string.h>
2
#include "string.h"
3
#include <ctype.h>
3
#include "libc/include/ctype.h"
4
 
4
 
5
int strcasecmp(const char *s1, const char *s2)
5
int strcasecmp(const char *s1, const char *s2)
6
{
6
{
7
    while (*s1 != '\0' && tolower(*s1) == tolower(*s2)) {
7
    while (*s1 != '\0' && tolower(*s1) == tolower(*s2)) {
8
        s1++;
8
        s1++;