index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-04 10:34:27 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-04 10:34:27 +0000 |
commit | 633c89b5327bbdb14d0d076cbab474c60dabab57 (patch) | |
tree | 6d6294f69393fbecdc276665ea7ad87288c71bae /src/pacman/log.h | |
parent | fe0b4cccb2539165657b7f06bb0a6a1123377798 (diff) |
-rw-r--r-- | src/pacman/log.h | 8 |
diff --git a/src/pacman/log.h b/src/pacman/log.h index 28999fd3..6cd5b346 100644 --- a/src/pacman/log.h +++ b/src/pacman/log.h @@ -26,11 +26,6 @@ pm_fprintf(stderr, line, "error: "); \ pm_fprintf(stderr, CL, fmt, ##args); \ } while(0) -#define DBG(line, fmt, args...) do { \ - char str[256]; \ - snprintf(str, 256, fmt, ##args); \ - cb_log(PM_LOG_DEBUG, str); \ -} while(0) enum { NL, /* new line */ @@ -41,9 +36,10 @@ enum { void cb_log(unsigned short level, char *msg); void pm_fprintf(FILE *file, unsigned short line, char *fmt, ...); - void vprint(char *fmt, ...); +int yesno(char *fmt, ...); + #endif /* _PM_LOG_H */ /* vim: set ts=2 sw=2 noet: */ |