Shuffle lines to avoid gcc 3 warning about redundant redeclaration

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-09-04 17:43:37 +00:00
parent c34ebfdc87
commit aa43d9ccab
3 changed files with 18 additions and 18 deletions

View file

@ -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,
};