diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-03-02 18:15:09 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2010-03-16 16:58:32 +0100 |
commit | ab5b027ee645f26320379d1d80cd96fdc944ecb5 (patch) | |
tree | f762dae3d3f5ef0abde481a8d684ce5a312670ce /qemu-error.h | |
parent | 1ecda02b24a13f501e747b8442934829d82698ae (diff) |
error: Rename qemu_error_new() to qerror_report()
Diffstat (limited to 'qemu-error.h')
-rw-r--r-- | qemu-error.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qemu-error.h b/qemu-error.h index 99dfccedb1..5b05371fcf 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 |