diff options
Diffstat (limited to 'include/qapi/qmp/qlist.h')
-rw-r--r-- | include/qapi/qmp/qlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qapi/qmp/qlist.h b/include/qapi/qmp/qlist.h index ec3fcc1a4c..632b7ef2c1 100644 --- a/include/qapi/qmp/qlist.h +++ b/include/qapi/qmp/qlist.h @@ -23,10 +23,10 @@ typedef struct QListEntry { QTAILQ_ENTRY(QListEntry) next; } QListEntry; -typedef struct QList { +struct QList { QObject base; QTAILQ_HEAD(,QListEntry) head; -} QList; +}; #define qlist_append(qlist, obj) \ qlist_append_obj(qlist, QOBJECT(obj)) |