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