summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h2
1 files changed, 1 insertions, 1 deletions
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);