summaryrefslogtreecommitdiff
path: root/lib/libalpm/cache.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-05-03 17:43:02 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-05-03 17:43:02 +0000
commit54f6a1cb12c7e980eac903d4e6af4fe6e7e6b125 (patch)
treecda33596072eaa74d1179d31bfea5951ade86fd3 /lib/libalpm/cache.h
parent00b97ee35f0bff40646da6766002eb0c200d96c1 (diff)
downloadpacman-54f6a1cb12c7e980eac903d4e6af4fe6e7e6b125.tar.xz
make use of the new list_remove implementation
Diffstat (limited to 'lib/libalpm/cache.h')
-rw-r--r--lib/libalpm/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/cache.h b/lib/libalpm/cache.h
index 805d5d30..e187ec93 100644
--- a/lib/libalpm/cache.h
+++ b/lib/libalpm/cache.h
@@ -30,7 +30,7 @@
int db_load_pkgcache(pmdb_t *db);
void db_free_pkgcache(pmdb_t *db);
int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg);
-int db_remove_pkgfromcache(pmdb_t *db, char *name);
+int db_remove_pkgfromcache(pmdb_t *db, pmpkg_t *pkg);
PMList *db_get_pkgcache(pmdb_t *db);
pmpkg_t *db_get_pkgfromcache(pmdb_t *db, char *target);
/* groups */