diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:38 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:38 +1000 |
commit | ca43fdd92f06a6997c53e45bfed6fb27f3044de5 (patch) | |
tree | 7e8602a60ee18b8bdee78d9064d6c3bc2eb09dc4 /src/util | |
parent | d796d1cdda15889fc0793eae50582d75f07d55d5 (diff) | |
download | pacman-ca43fdd92f06a6997c53e45bfed6fb27f3044de5.tar.xz |
Prefix alpm_loglevel_t members with ALPM
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/cleanupdelta.c | 6 | ||||
-rw-r--r-- | src/util/testdb.c | 4 | ||||
-rw-r--r-- | src/util/testpkg.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c index 70fb7607..08d8a557 100644 --- a/src/util/cleanupdelta.c +++ b/src/util/cleanupdelta.c @@ -43,9 +43,9 @@ static void output_cb(alpm_loglevel_t level, const char *fmt, va_list args) { if(strlen(fmt)) { switch(level) { - case PM_LOG_ERROR: printf("error: "); break; - case PM_LOG_WARNING: printf("warning: "); break; - //case PM_LOG_DEBUG: printf("debug: "); break; + case ALPM_LOG_ERROR: printf("error: "); break; + case ALPM_LOG_WARNING: printf("warning: "); break; + //case ALPM_LOG_DEBUG: printf("debug: "); break; default: return; } vprintf(fmt, args); diff --git a/src/util/testdb.c b/src/util/testdb.c index b8ab33ca..642890b6 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -45,8 +45,8 @@ static void output_cb(alpm_loglevel_t level, const char *fmt, va_list args) { if(strlen(fmt)) { switch(level) { - case PM_LOG_ERROR: printf("error: "); break; - case PM_LOG_WARNING: printf("warning: "); break; + case ALPM_LOG_ERROR: printf("error: "); break; + case ALPM_LOG_WARNING: printf("warning: "); break; default: return; } vprintf(fmt, args); diff --git a/src/util/testpkg.c b/src/util/testpkg.c index a745984d..cfde486a 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -30,8 +30,8 @@ static void output_cb(alpm_loglevel_t level, const char *fmt, va_list args) return; } switch(level) { - case PM_LOG_ERROR: printf("error: "); break; - case PM_LOG_WARNING: printf("warning: "); break; + case ALPM_LOG_ERROR: printf("error: "); break; + case ALPM_LOG_WARNING: printf("warning: "); break; default: return; /* skip other messages */ } vprintf(fmt, args); |