diff options
Diffstat (limited to 'src/pacman/log.h')
-rw-r--r-- | src/pacman/log.h | 8 |
1 files changed, 2 insertions, 6 deletions
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: */ |