diff options
| author | Stefan Weil | 2015-02-06 22:43:10 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2015-02-10 08:26:05 +0100 |
| commit | 6afc14e92ac81b29c25f097468f7751d5df1b5bc (patch) | |
| tree | 5ea63adb76216bbf80a348b479a2580d79170236 /include | |
| parent | disas/sh4: Fix warning caused by missing 'static' attribute (diff) | |
| download | qemu-6afc14e92ac81b29c25f097468f7751d5df1b5bc.tar.gz qemu-6afc14e92ac81b29c25f097468f7751d5df1b5bc.tar.xz qemu-6afc14e92ac81b29c25f097468f7751d5df1b5bc.zip | |
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')
| -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; |
