diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-26 15:34:16 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-26 15:34:16 -0400 |
commit | f2dabeb19f79544775e8f369710f267a6d087b24 (patch) | |
tree | 41a3c0658151ee2a51222b0539193187613a2afc /src/pacman/output.h | |
parent | 961be77c93b487987600cd041bef3aa656949724 (diff) |
Remove ERR, WARN, and pm_fprintf macros/functions
Rip out this stuff from output.c and output.h for the next step of ripping all ERR
output from the pacman front end.
This commit will NOT compile.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/output.h')
-rw-r--r-- | src/pacman/output.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/pacman/output.h b/src/pacman/output.h index b74a1dbf..29a70b87 100644 --- a/src/pacman/output.h +++ b/src/pacman/output.h @@ -23,26 +23,6 @@ #include <stdio.h> -/* TODO these are illegal in ISO C, thus the reason -pedantic was never used - * as a compile flag for the pacman side of things (named variadic macros) */ -#define ERR(line, fmt, args...) do { \ - pm_fprintf(stderr, line, _("error: ")); \ - pm_fprintf(stderr, CL, fmt, ##args); \ -} while(0) -#define WARN(line, fmt, args...) do { \ - pm_fprintf(stderr, line, _("warning: ")); \ - pm_fprintf(stderr, CL, fmt, ##args); \ -} while(0) - -enum { - NL, /* new line */ - CL /* current line */ -}; - -void set_output_padding(int on); - -void pm_fprintf(FILE *file, unsigned short line, char *fmt, ...); - int yesno(char *fmt, ...); #endif /* _PM_OUTPUT_H */ |