error: Include the program name in error messages to stderr

This commit is contained in:
Markus Armbruster 2010-02-24 14:37:14 +01:00
parent 827b08139c
commit 65abca0a34
3 changed files with 22 additions and 1 deletions

View file

@ -31,6 +31,7 @@ void loc_set_none(void);
void error_vprintf(const char *fmt, va_list ap);
void error_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
void error_print_loc(void);
void error_set_progname(const char *argv0);
void error_report(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
void qerror_report_internal(const char *file, int linenr, const char *func,
const char *fmt, ...)