diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-02-06 22:43:10 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-02-10 10:26:05 +0300 |
commit | 6afc14e92ac81b29c25f097468f7751d5df1b5bc (patch) | |
tree | 5ea63adb76216bbf80a348b479a2580d79170236 /include/migration/vmstate.h | |
parent | 084cc83996d1414d4713a84291a0fadf4199b9d2 (diff) |
migration: Fix warning caused by missing declaration of vmstate_dummy
Warning from the Sparse static analysis tool:
stubs/vmstate.c:4:26: warning:
symbol 'vmstate_dummy' was not declared. Should it be static?
Cc: Juan Quintela <quintela@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/migration/vmstate.h')
-rw-r--r-- | include/migration/vmstate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 0b26bc68dd..c20f2d1fee 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -139,9 +139,7 @@ struct VMStateDescription { const VMStateSubsection *subsections; }; -#ifdef CONFIG_USER_ONLY extern const VMStateDescription vmstate_dummy; -#endif extern const VMStateInfo vmstate_info_bool; |