From 00693570064aa3ad3942e23507096649fcd10bda Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 2 May 2005 07:42:18 +0000 Subject: updated REASON constants to be consistent with databases from pacman 2.9.x --- lib/libalpm/alpm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 61a1aa3e..79eb9d20 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -150,8 +150,8 @@ enum { }; /* reasons -- ie, why the package was installed */ -#define PM_PKG_REASON_EXPLICIT 1 /* explicitly requested by the user */ -#define PM_PKG_REASON_DEPEND 2 /* installed as a dependency for another package */ +#define PM_PKG_REASON_EXPLICIT 0 /* explicitly requested by the user */ +#define PM_PKG_REASON_DEPEND 1 /* installed as a dependency for another package */ void *alpm_pkg_getinfo(PM_PKG *pkg, unsigned char parm); int alpm_pkg_load(char *filename, PM_PKG **pkg); -- cgit v1.2.3