summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-05-02 09:42:18 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-05-02 09:42:18 +0200
commit00693570064aa3ad3942e23507096649fcd10bda (patch)
tree45a67404637b19161ff9c4d030dea1b7c916a092 /lib/libalpm/alpm.h
parent9e7dfed18b21e0cf457af79a87d1726dda3a1b08 (diff)
downloadpacman-00693570064aa3ad3942e23507096649fcd10bda.tar.gz
pacman-00693570064aa3ad3942e23507096649fcd10bda.tar.xz
updated REASON constants to be consistent with databases from pacman 2.9.x
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h4
1 files changed, 2 insertions, 2 deletions
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);