aboutsummaryrefslogtreecommitdiff
path: root/hw/net/xgmac.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-05-02 22:34:40 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-05-07 21:00:43 +0400
commit6a0a70b0f51001ca86a9671ef6b6352f537c2d64 (patch)
treedc2104accf5f48813950bad67fea7a39b298d4b6 /hw/net/xgmac.c
parentfbdb664cb69730d043e7eb3b89db1cc8b419080f (diff)
downloadqemu-6a0a70b0f51001ca86a9671ef6b6352f537c2d64.zip
qemu-6a0a70b0f51001ca86a9671ef6b6352f537c2d64.tar.gz
qemu-6a0a70b0f51001ca86a9671ef6b6352f537c2d64.tar.bz2
hw: Add missing 'static' attributes
This fixes warnings from the static code analysis (smatch). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/net/xgmac.c')
-rw-r--r--hw/net/xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c
index 9384fa0..88349ac 100644
--- a/hw/net/xgmac.c
+++ b/hw/net/xgmac.c
@@ -152,7 +152,7 @@ typedef struct XgmacState {
uint32_t regs[R_MAX];
} XgmacState;
-const VMStateDescription vmstate_rxtx_stats = {
+static const VMStateDescription vmstate_rxtx_stats = {
.name = "xgmac_stats",
.version_id = 1,
.minimum_version_id = 1,