hw/9pfs: Add missing 'static' attributes
Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
4798fe55c4
commit
f5a014d236
|
@ -21,7 +21,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
/* Root node for synth file system */
|
/* Root node for synth file system */
|
||||||
V9fsSynthNode v9fs_synth_root = {
|
static V9fsSynthNode v9fs_synth_root = {
|
||||||
.name = "/",
|
.name = "/",
|
||||||
.actual_attr = {
|
.actual_attr = {
|
||||||
.mode = 0555 | S_IFDIR,
|
.mode = 0555 | S_IFDIR,
|
||||||
|
|
|
@ -660,8 +660,8 @@ static void qdev_get_legacy_property(Object *obj, Visitor *v, void *opaque,
|
||||||
* Legacy properties are string versions of other OOM properties. The format
|
* Legacy properties are string versions of other OOM properties. The format
|
||||||
* of the string depends on the property type.
|
* of the string depends on the property type.
|
||||||
*/
|
*/
|
||||||
void qdev_property_add_legacy(DeviceState *dev, Property *prop,
|
static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
|
||||||
Error **errp)
|
Error **errp)
|
||||||
{
|
{
|
||||||
gchar *name;
|
gchar *name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue