aboutsummaryrefslogtreecommitdiff
path: root/qemu-error.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-03-02 18:15:09 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 16:58:32 +0100
commitab5b027ee645f26320379d1d80cd96fdc944ecb5 (patch)
treef762dae3d3f5ef0abde481a8d684ce5a312670ce /qemu-error.h
parent1ecda02b24a13f501e747b8442934829d82698ae (diff)
downloadqemu-ab5b027ee645f26320379d1d80cd96fdc944ecb5.zip
qemu-ab5b027ee645f26320379d1d80cd96fdc944ecb5.tar.gz
qemu-ab5b027ee645f26320379d1d80cd96fdc944ecb5.tar.bz2
error: Rename qemu_error_new() to qerror_report()
Diffstat (limited to 'qemu-error.h')
-rw-r--r--qemu-error.h10
1 files changed, 5 insertions, 5 deletions
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