Rev 3271 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3271 | Rev 3627 | ||
|---|---|---|---|
| Line 82... | Line 82... | ||
| 82 | return (c + ('a' - 'A' > 0 ? 'a' - 'A' : 'A' - 'a')); |
82 | return (c + ('a' - 'A' > 0 ? 'a' - 'A' : 'A' - 'a')); |
| 83 | else |
83 | else |
| 84 | return c; |
84 | return c; |
| 85 | } |
85 | } |
| 86 | 86 | ||
| - | 87 | static inline int toupper(int c) |
|
| - | 88 | { |
|
| - | 89 | if (islower(c)) |
|
| - | 90 | return (c - ('a' - 'A' > 0 ? 'a' - 'A' : 'A' - 'a')); |
|
| - | 91 | else |
|
| - | 92 | return c; |
|
| - | 93 | } |
|
| - | 94 | ||
| 87 | #endif |
95 | #endif |
| 88 | 96 | ||
| 89 | /** @} |
97 | /** @} |
| 90 | */ |
98 | */ |