index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 20:06:11 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 20:06:11 +0000 |
commit | b0f613c2115f00129d4bdeaa705a0964e53b29b2 (patch) | |
tree | bbedb71e00123f67778c154dd84af1010c93ff36 /lib/libalpm/log.c | |
parent | 49415cb67560b0d432943d00d913eba655f440cb (diff) |
-rw-r--r-- | lib/libalpm/log.c | 10 |
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c index cf5a9b48..c36851dc 100644 --- a/lib/libalpm/log.c +++ b/lib/libalpm/log.c @@ -28,24 +28,24 @@ /* Internal library log mechanism */ -alpm_cb_log __pm_logcb = NULL; -unsigned char __pm_logmask = 0; +alpm_cb_log pm_logcb = NULL; +unsigned char pm_logmask = 0; void _alpm_log(unsigned char flag, char *fmt, ...) { char str[LOG_STR_LEN]; va_list args; - if(__pm_logcb == NULL) { + if(pm_logcb == NULL) { return; } - if(flag & __pm_logmask) { + if(flag & pm_logmask) { va_start(args, fmt); vsnprintf(str, LOG_STR_LEN, fmt, args); va_end(args); - __pm_logcb(flag, str); + pm_logcb(flag, str); } } |