Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-01 03:08:41 +0000
committerDan McGee <dan@archlinux.org>2007-03-01 03:08:41 +0000
commit4a45a273ead089ffa280ce5c160039ec392fa6f3 (patch)
tree62299628f5243459bf3324c9bc01be9e89fa6d70 /lib/libalpm/db.h
parent13e21110459aaf99dd739802c2b07b3d5b9e2a68 (diff)
* Fix up _alpm_db_free, remove use of void*.
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 008ff669..4f3c1bf0 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -48,7 +48,7 @@ struct __pmdb_t {
/* db.c, database general calls */
pmdb_t *_alpm_db_new(const char *root, const char *dbpath, const char *treename);
-void _alpm_db_free(void *data);
+void _alpm_db_free(pmdb_t *db);
int _alpm_db_cmp(const void *db1, const void *db2);
alpm_list_t *_alpm_db_search(pmdb_t *db, alpm_list_t *needles);
pmdb_t *_alpm_db_register(const char *treename, alpm_cb_db_register callback);