From ab5b027ee645f26320379d1d80cd96fdc944ecb5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 2 Mar 2010 18:15:09 +0100 Subject: error: Rename qemu_error_new() to qerror_report() --- qemu-error.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qemu-error.h') diff --git a/qemu-error.h b/qemu-error.h index 99dfcce..5b05371 100644 --- a/qemu-error.h +++ b/qemu-error.h @@ -16,11 +16,11 @@ void error_vprintf(const char *fmt, va_list ap); void error_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); void error_report(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); -void qemu_error_internal(const char *file, int linenr, const char *func, - const char *fmt, ...) - __attribute__ ((format(printf, 4, 5))); +void qerror_report_internal(const char *file, int linenr, const char *func, + const char *fmt, ...) + __attribute__ ((format(printf, 4, 5))); -#define qemu_error_new(fmt, ...) \ - qemu_error_internal(__FILE__, __LINE__, __func__, fmt, ## __VA_ARGS__) +#define qerror_report(fmt, ...) \ + qerror_report_internal(__FILE__, __LINE__, __func__, fmt, ## __VA_ARGS__) #endif -- cgit v1.1