Add "static" to please Sparse

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-12-04 20:44:44 +00:00
parent 407f879abb
commit d05ac8faf5
10 changed files with 11 additions and 11 deletions

View file

@ -107,7 +107,7 @@ static void put_unused(QEMUFile *f, void *pv, size_t size)
exit(0);
}
const VMStateInfo vmstate_hack_uint16_from_uint8 = {
static const VMStateInfo vmstate_hack_uint16_from_uint8 = {
.name = "uint16_from_uint8",
.get = get_uint16_from_uint8,
.put = put_unused,