Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 13:54:04 +1000
committerAllan McRae <allan@archlinux.org>2011-06-28 13:54:04 +1000
commit7ce674491bd854610855fe83482eda6b18273fa0 (patch)
tree9ed0c5cf4eafafefb74d909cd9b67ebfae462b52 /lib/libalpm/db.c
parent9aab1440cacf143b62f05ccfac0e7917ef9d4c45 (diff)
Rename pmpkgreason_t to alpm_pkgreason_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 9f37f80b..c1518101 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -268,7 +268,7 @@ alpm_list_t SYMEXPORT *alpm_db_search(pmdb_t *db, const alpm_list_t* needles)
}
/** Set install reason for a package in db. */
-int SYMEXPORT alpm_db_set_pkgreason(pmdb_t *db, const char *name, pmpkgreason_t reason)
+int SYMEXPORT alpm_db_set_pkgreason(pmdb_t *db, const char *name, alpm_pkgreason_t reason)
{
ASSERT(db != NULL, return -1);
db->handle->pm_errno = 0;