* Fixed coding style.
* Since there is no "Haiku license", I replaced that with a reference to the MIT license as usual. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26236 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
625f6e7f92
commit
bb956ce2ea
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2008, Mika Lindqvist. All rights reserved.
|
* Copyright 2008, Mika Lindqvist. All rights reserved.
|
||||||
** Distributed under the terms of the Haiku License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -10,10 +10,11 @@ char *
|
|||||||
strlwr(char *str)
|
strlwr(char *str)
|
||||||
{
|
{
|
||||||
char *c = str;
|
char *c = str;
|
||||||
while(*c) {
|
while (*c) {
|
||||||
*c = tolower(*c);
|
*c = tolower(*c);
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
return(str);
|
|
||||||
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2008, Mika Lindqvist. All rights reserved.
|
* Copyright 2008, Mika Lindqvist. All rights reserved.
|
||||||
** Distributed under the terms of the Haiku License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -10,10 +10,11 @@ char *
|
|||||||
strupr(char *str)
|
strupr(char *str)
|
||||||
{
|
{
|
||||||
char *c = str;
|
char *c = str;
|
||||||
while(*c) {
|
while (*c) {
|
||||||
*c = toupper(*c);
|
*c = toupper(*c);
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
return(str);
|
|
||||||
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user