mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
Shuffle lines to avoid gcc 3 warning about redundant redeclaration
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
12
qstring.c
12
qstring.c
@@ -13,7 +13,12 @@
|
||||
#include "qstring.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
static const QType qstring_type;
|
||||
static void qstring_destroy_obj(QObject *obj);
|
||||
|
||||
static const QType qstring_type = {
|
||||
.code = QTYPE_QSTRING,
|
||||
.destroy = qstring_destroy_obj,
|
||||
};
|
||||
|
||||
/**
|
||||
* qstring_from_str(): Create a new QString from a regular C string
|
||||
@@ -66,8 +71,3 @@ static void qstring_destroy_obj(QObject *obj)
|
||||
qemu_free(qs->string);
|
||||
qemu_free(qs);
|
||||
}
|
||||
|
||||
static const QType qstring_type = {
|
||||
.code = QTYPE_QSTRING,
|
||||
.destroy = qstring_destroy_obj,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user