From d3c80030201b555efba2f31811cff627a3fdeaf8 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 23 Sep 2007 12:20:48 -0500 Subject: alpm: removed unused strtoupper wrapper, remove installeddate on parse_descfile installdate should never be present in a package descfile, so get rid of it. With the last commit, we also don't need the util strtoupper function. Signed-off-by: Dan McGee --- lib/libalpm/util.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/libalpm/util.c') diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index b1c3a402..9d4adb2d 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -251,19 +251,6 @@ int _alpm_copyfile(const char *src, const char *dest) return(0); } -/* Convert a string to uppercase -*/ -char *_alpm_strtoupper(char *str) -{ - char *ptr = str; - - while(*ptr) { - (*ptr) = toupper(*ptr); - ptr++; - } - return(str); -} - /* Trim whitespace and newlines from a string */ char *_alpm_strtrim(char *str) -- cgit v1.2.3-54-g00ecf