summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-21 08:34:36 +0000
committerDan McGee <dan@archlinux.org>2007-02-21 08:34:36 +0000
commita5f630fda6ef984b39c867da28c3eeef8abbb30d (patch)
tree550a0c096fda4bceccf2ff70c3b156d2ca4f492c /lib/libalpm/db.h
parent829ac8369b49219c988bb7553a3093615ddcb76d (diff)
downloadpacman-a5f630fda6ef984b39c867da28c3eeef8abbb30d.tar.xz
* Fixed inconsistency of args- _alpm_db_read, _alpm_db_write.
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 a37f3ce7..9c4645f8 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -59,7 +59,7 @@ int _alpm_db_open(pmdb_t *db);
void _alpm_db_close(pmdb_t *db);
void _alpm_db_rewind(pmdb_t *db);
pmpkg_t *_alpm_db_scan(pmdb_t *db, char *target, pmdbinfrq_t inforeq);
-int _alpm_db_read(pmdb_t *db, pmdbinfrq_t inforeq, pmpkg_t *info);
+int _alpm_db_read(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq);
int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq);
int _alpm_db_remove(pmdb_t *db, pmpkg_t *info);
int _alpm_db_getlastupdate(pmdb_t *db, char *ts);