aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/qmp/qstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/qmp/qstring.h')
-rw-r--r--include/qapi/qmp/qstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qapi/qmp/qstring.h b/include/qapi/qmp/qstring.h
index 65c05a9be5..98070ef3d6 100644
--- a/include/qapi/qmp/qstring.h
+++ b/include/qapi/qmp/qstring.h
@@ -15,12 +15,12 @@
#include "qapi/qmp/qobject.h"
-typedef struct QString {
+struct QString {
QObject base;
char *string;
size_t length;
size_t capacity;
-} QString;
+};
QString *qstring_new(void);
QString *qstring_from_str(const char *str);