aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-07-27 18:11:16 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 14:17:53 -0300
commit3647f5c161dddb5ec22c2d8e0ab27811959e3ada (patch)
treeb6dbc8b51005441bfbe0122bcfa237cbf1103802 /qerror.h
parentdf1e608a01eb0d55d6639d97f575dba37a44ac4a (diff)
downloadqemu-3647f5c161dddb5ec22c2d8e0ab27811959e3ada.zip
qemu-3647f5c161dddb5ec22c2d8e0ab27811959e3ada.tar.gz
qemu-3647f5c161dddb5ec22c2d8e0ab27811959e3ada.tar.bz2
qerror: drop qerror_table and qerror_format()
They are unused since last commit. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/qerror.h b/qerror.h
index 057a8f2..c5ad29f 100644
--- a/qerror.h
+++ b/qerror.h
@@ -19,12 +19,6 @@
#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;
@@ -37,7 +31,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