mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
Shuffle lines to avoid gcc 3 warning about redundant redeclaration
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
c34ebfdc87
commit
aa43d9ccab
3 changed files with 18 additions and 18 deletions
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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue