Subversion Repositories HelenOS

Rev

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

Rev 3403 Rev 3674
Line 77... Line 77...
77
}
77
}
78
 
78
 
79
static inline int tolower(int c)
79
static inline int tolower(int c)
80
{
80
{
81
    if (isupper(c))
81
    if (isupper(c))
82
        return (c + ('a' - 'A' > 0 ? 'a' - 'A' : 'A' - 'a'));
82
        return (c + ('a' - 'A'));
-
 
83
    else
-
 
84
        return c;
-
 
85
}
-
 
86
 
-
 
87
static inline int toupper(int c)
-
 
88
{
-
 
89
    if (islower(c))
-
 
90
        return (c + ('A' - 'a'));
83
    else
91
    else
84
        return c;
92
        return c;
85
}
93
}
86
 
94
 
87
#endif
95
#endif