aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rwxr-xr-xsrc/utils.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index bbc8074..9d96ff4 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.48 2008/08/11 18:08:45 culot Exp $ */
+/* $calcurse: utils.c,v 1.49 2008/09/15 20:40:22 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -964,3 +964,13 @@ parse_date (char *date_string, int datefmt, int *year, int *month, int *day)
*day = lday;
return (1);
}
+
+char *
+str_toupper (char *s)
+{
+ int len;
+
+ for (len = 0; s && s[len]; len++)
+ s[len] = toupper (s[len]);
+ return s;
+}