summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index c448478e..f5a3c33a 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -342,16 +342,6 @@ error:
return(NULL);
}
-/* Helper function for sorting packages
- */
-int pkg_cmp(const void *p1, const void *p2)
-{
- pmpkg_t *pkg1 = (pmpkg_t *)p1;
- pmpkg_t *pkg2 = (pmpkg_t *)p2;
-
- return(strcmp(pkg1->name, pkg2->name));
-}
-
/* Test for existence of a package in a PMList*
* of pmpkg_t*
*