diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-03-22 10:29:05 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 14:30:38 +0100 |
commit | 0167f772d1505b79f2db2f1d3ccad54f2cbe5de1 (patch) | |
tree | 6dc1663a784d9b4d0313ae2742c16afc5b0112c1 /qemu-error.c | |
parent | 526f0ac1538378a561b629cb2f99a0349d48bc2f (diff) | |
download | qemu-0167f772d1505b79f2db2f1d3ccad54f2cbe5de1.zip qemu-0167f772d1505b79f2db2f1d3ccad54f2cbe5de1.tar.gz qemu-0167f772d1505b79f2db2f1d3ccad54f2cbe5de1.tar.bz2 |
error: Move qerror_report() from qemu-error.[ch] to qerror.[ch]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-error.c')
-rw-r--r-- | qemu-error.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/qemu-error.c b/qemu-error.c index 2eadbfc..5a35e7c1 100644 --- a/qemu-error.c +++ b/qemu-error.c @@ -207,21 +207,3 @@ void error_report(const char *fmt, ...) va_end(ap); error_printf("\n"); } - -void qerror_report_internal(const char *file, int linenr, const char *func, - const char *fmt, ...) -{ - va_list va; - QError *qerror; - - va_start(va, fmt); - qerror = qerror_from_info(file, linenr, func, fmt, &va); - va_end(va); - - if (monitor_cur_is_qmp()) { - monitor_set_error(cur_mon, qerror); - } else { - qerror_print(qerror); - QDECREF(qerror); - } -} |