]> git.proxmox.com Git - qemu.git/blobdiff - qerror.h
Avoid asprintf() which is not available on mingw
[qemu.git] / qerror.h
index 057a8f287aca46d8f49714afc9c502402e50cd45..d0a76a4f71bfd051672ad63446ba7cc51e8579f8 100644 (file)
--- a/qerror.h
+++ b/qerror.h
 #include "qapi-types.h"
 #include <stdarg.h>
 
-typedef struct QErrorStringTable {
-    ErrorClass err_class;
-    const char *error_fmt;
-    const char *desc;
-} QErrorStringTable;
-
 typedef struct QError {
     QObject_HEAD;
-    QDict *error;
     Location loc;
     char *err_msg;
     ErrorClass err_class;
@@ -37,7 +30,6 @@ QString *qerror_human(const QError *qerror);
 void qerror_report(ErrorClass err_class, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
 void qerror_report_err(Error *err);
 void assert_no_error(Error *err);
-char *qerror_format(const char *fmt, QDict *error);
 
 /*
  * QError class list