X-Git-Url: https://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fctype.h;h=5b2f37150de8617d777a6cefb7d4a099b2d7c41a;hp=afa36392297a341ce79e7d52a0231453776b7a89;hb=5aa4e2a849cbef09035dfc9b324df5f5167c64e9;hpb=f4ebbd9f7ea23e3f0fcbe098754580c220894628 diff --git a/include/ctype.h b/include/ctype.h index afa3639..5b2f371 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -36,19 +36,26 @@ extern unsigned char _ctype[]; static inline unsigned char __tolower(unsigned char c) { - if (isupper(c)) - c -= 'A'-'a'; - return c; + if (isupper(c)) + c -= 'A'-'a'; + return c; } static inline unsigned char __toupper(unsigned char c) { - if (islower(c)) - c -= 'a'-'A'; - return c; + if (islower(c)) + c -= 'a'-'A'; + return c; } #define tolower(c) __tolower(c) #define toupper(c) __toupper(c) #endif + +/* + * Local variables: + * c-file-style: "k&r" + * c-basic-offset: 5 + * End: + */