diff options
author | Frederic Culot <calcurse@culot.org> | 2008-09-15 20:40:22 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-09-15 20:40:22 +0000 |
commit | a126904b7e462a72c276387dde1f5ba10a88d05d (patch) | |
tree | 9324fbe0c28ddc38cfb7361002ddca18ddbea006 /src/utils.c | |
parent | 2a873eafb37023ad55e02f4c31a475b5a0ac4168 (diff) | |
download | calcurse-a126904b7e462a72c276387dde1f5ba10a88d05d.zip |
Initial work on icalendar import
Diffstat (limited to 'src/utils.c')
-rwxr-xr-x | src/utils.c | 12 |
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; +} |