summaryrefslogtreecommitdiffstats
path: root/src/pacman/query.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-01 18:01:38 +0200
committerAllan McRae <allan@archlinux.org>2011-07-01 18:01:38 +0200
commiteb39a9482b711d58a6c12840800f2372dee0c120 (patch)
tree0323b71b83042b3e3d66d70c94e40dbb4de35f5f /src/pacman/query.c
parentcf1401a04d5179c89af6460b812e171cc2da19f0 (diff)
downloadpacman-eb39a9482b711d58a6c12840800f2372dee0c120.tar.gz
pacman-eb39a9482b711d58a6c12840800f2372dee0c120.tar.xz
Prefix alpm_pkgreason_t members with ALPM
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/query.c')
-rw-r--r--src/pacman/query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 826c2262..6500c2da 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -370,12 +370,12 @@ static int filter(alpm_pkg_t *pkg)
{
/* check if this package was explicitly installed */
if(config->op_q_explicit &&
- alpm_pkg_get_reason(pkg) != PM_PKG_REASON_EXPLICIT) {
+ alpm_pkg_get_reason(pkg) != ALPM_PKG_REASON_EXPLICIT) {
return 0;
}
/* check if this package was installed as a dependency */
if(config->op_q_deps &&
- alpm_pkg_get_reason(pkg) != PM_PKG_REASON_DEPEND) {
+ alpm_pkg_get_reason(pkg) != ALPM_PKG_REASON_DEPEND) {
return 0;
}
/* check if this pkg isn't in a sync DB */