diff --git a/src/system/libroot/posix/string/strlwr.c b/src/system/libroot/posix/string/strlwr.c index c6369d531e..16b20b05e1 100644 --- a/src/system/libroot/posix/string/strlwr.c +++ b/src/system/libroot/posix/string/strlwr.c @@ -1,7 +1,7 @@ /* -** Copyright 2008, Mika Lindqvist. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2008, Mika Lindqvist. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include #include @@ -10,10 +10,11 @@ char * strlwr(char *str) { char *c = str; - while(*c) { + while (*c) { *c = tolower(*c); c++; } - return(str); + + return str; } diff --git a/src/system/libroot/posix/string/strupr.c b/src/system/libroot/posix/string/strupr.c index 1803b7b0a3..97388d0801 100644 --- a/src/system/libroot/posix/string/strupr.c +++ b/src/system/libroot/posix/string/strupr.c @@ -1,7 +1,7 @@ /* -** Copyright 2008, Mika Lindqvist. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2008, Mika Lindqvist. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include #include @@ -10,10 +10,11 @@ char * strupr(char *str) { char *c = str; - while(*c) { + while (*c) { *c = toupper(*c); c++; } - return(str); + + return str; }