From 16ff7cfa8ef2d50c97d79357c2b2c1fdc2bc241b Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 22 Feb 2006 20:49:33 +0000 Subject: improved _alpm_list_free handling --- lib/libalpm/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/db.h') diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index a86940f7..dbade3b0 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -48,7 +48,7 @@ typedef struct __pmdb_t { } pmdb_t; pmdb_t *_alpm_db_open(char *path, char *treename, int mode); -void _alpm_db_close(pmdb_t *db); +void _alpm_db_close(void *data); void _alpm_db_rewind(pmdb_t *db); pmpkg_t *_alpm_db_scan(pmdb_t *db, char *target, unsigned int inforeq); int _alpm_db_read(pmdb_t *db, char *name, unsigned int inforeq, pmpkg_t *info); -- cgit v1.2.3-70-g09d2