Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=5d276fe1add09710b0c68bb00ba6b6a249596a1e

commit 5d276fe1add09710b0c68bb00ba6b6a249596a1e
Author: Michel Hermier <[email protected]>
Date:   Thu Dec 26 21:05:29 2013 +0100

pacman: Remove unused strtoupper function.

diff --git a/src/pacman-g2/util.c b/src/pacman-g2/util.c
index b937ee1..a072987 100644
--- a/src/pacman-g2/util.c
+++ b/src/pacman-g2/util.c
@@ -112,19 +112,6 @@ char *buildstring(list_t *strlist)
return(str);
}

-/* Convert a string to uppercase
- */
-char *strtoupper(char *str)
-{
-       char *ptr = str;
-
-       while(*ptr) {
-               (*ptr) = toupper(*ptr);
-               ptr++;
-       }
-       return str;
-}
-
/* Trim whitespace and newlines from a string
*/
char *strtrim(char *str)
diff --git a/src/pacman-g2/util.h b/src/pacman-g2/util.h
index de1c06b..6c60f2a 100644
--- a/src/pacman-g2/util.h
+++ b/src/pacman-g2/util.h
@@ -48,7 +48,6 @@

void indentprint(char *str, int indent);
char *buildstring(list_t *strlist);
-char *strtoupper(char *str);
char *strtrim(char *str);
int reg_match(char *string, char *pattern);
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to