]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/9pfs: Add missing 'static' attributes
authorStefan Weil <sw@weilnetz.de>
Fri, 2 May 2014 20:22:57 +0000 (22:22 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 May 2014 17:00:43 +0000 (21:00 +0400)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/9pfs/virtio-9p-synth.c
hw/core/qdev.c

index 840e4ebb5aeb09459959b7c5bbbfd51209c0b05c..71262bccd2443e1f38706b206f0057b1fe97987a 100644 (file)
@@ -21,7 +21,7 @@
 #include <sys/stat.h>
 
 /* Root node for synth file system */
-V9fsSynthNode v9fs_synth_root = {
+static V9fsSynthNode v9fs_synth_root = {
     .name = "/",
     .actual_attr = {
         .mode = 0555 | S_IFDIR,
index 2fd5100522487471a8ee6987e62d3c7a8bf947db..936eae6412fcd9453df212df4c65f41e3829d203 100644 (file)
@@ -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
  * of the string depends on the property type.
  */
-void qdev_property_add_legacy(DeviceState *dev, Property *prop,
-                              Error **errp)
+static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
+                                     Error **errp)
 {
     gchar *name;