summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-09-23 12:20:48 -0500
committerDan McGee <dan@archlinux.org>2007-09-23 12:20:48 -0500
commitd3c80030201b555efba2f31811cff627a3fdeaf8 (patch)
treef02cd6d1f11a3510732a97c8feffed8528cb81de /lib/libalpm/util.c
parent443950b7e9c40493a184d55caaa71c2b4daa3ffd (diff)
downloadpacman-d3c80030201b555efba2f31811cff627a3fdeaf8.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c13
1 files changed, 0 insertions, 13 deletions
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)