X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=include%2Fctype.h;h=9a219dcb2ad7309f6becf204b5f45b20afe7a1d7;hb=0ef1539b6f680ba09c88be5bb94a821fd2599931;hp=afa36392297a341ce79e7d52a0231453776b7a89;hpb=f4ebbd9f7ea23e3f0fcbe098754580c220894628;p=yaboot.git diff --git a/include/ctype.h b/include/ctype.h index afa3639..9a219dc 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: + */