summaryrefslogtreecommitdiffstats
path: root/src/pacman/output.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/output.h')
-rw-r--r--src/pacman/output.h20
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 */