From cca46deb6f76a4b846555819b69ac9e22459dff6 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Tue, 29 Mar 2005 20:52:22 +0000 Subject: changed alpm_db_register() prototype --- lib/libalpm/alpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 451196f7..6f2980e0 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -93,7 +93,7 @@ int alpm_get_option(unsigned char parm, long *data); * Databases */ -int alpm_db_register(char *treename, PM_DB **db); +PM_DB *alpm_db_register(char *treename); int alpm_db_unregister(PM_DB *db); int alpm_db_getlastupdate(PM_DB *db, char *ts); -- cgit v1.2.3