Rev 3022 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3022 | Rev 4055 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | default: |
74 | default: |
75 | return 0; |
75 | return 0; |
76 | } |
76 | } |
77 | } |
77 | } |
78 | 78 | ||
- | 79 | static inline int tolower(int c) |
|
- | 80 | { |
|
- | 81 | if (isupper(c)) |
|
- | 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')); |
|
- | 91 | else |
|
- | 92 | return c; |
|
- | 93 | } |
|
- | 94 | ||
79 | #endif |
95 | #endif |
80 | 96 | ||
81 | /** @} |
97 | /** @} |
82 | */ |
98 | */ |