summaryrefslogtreecommitdiffstats
path: root/main/glib/strtolower.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/glib/strtolower.c')
-rw-r--r--main/glib/strtolower.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/main/glib/strtolower.c b/main/glib/strtolower.c
index 658ab7e..9a7dab2 100644
--- a/main/glib/strtolower.c
+++ b/main/glib/strtolower.c
@@ -4,30 +4,30 @@
#include "stddefs.h"
/* strtolower():
- * In-place modification of a string to be all lower case.
+ * In-place modification of a string to be all lower case.
*/
char *
strtolower(char *string)
{
- char *cp;
+ char *cp;
- cp = string;
- while(*cp) {
- *cp = tolower(*cp);
- cp++;
- }
- return(string);
+ cp = string;
+ while(*cp) {
+ *cp = tolower(*cp);
+ cp++;
+ }
+ return(string);
}
char *
strtoupper(char *string)
{
- char *cp;
+ char *cp;
- cp = string;
- while(*cp) {
- *cp = toupper(*cp);
- cp++;
- }
- return(string);
+ cp = string;
+ while(*cp) {
+ *cp = toupper(*cp);
+ cp++;
+ }
+ return(string);
}