The other didn't exist anymore. Signed-off-by: Juan Quintela <quint...@redhat.com> --- include/migration/vmstate.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index db70163..8dac300 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -202,13 +202,13 @@ extern const VMStateInfo vmstate_info_bitmap; .offset = vmstate_offset_value(_state, _field, _type), \ } -#define VMSTATE_POINTER_TEST(_field, _state, _test, _info, _type) { \ - .name = (stringify(_field)), \ - .info = &(_info), \ +#define VMSTATE_POINTER(_field, _state, _test, _info, _type) { \ + .name = (stringify(_field)), \ + .info = &(_info), \ .field_exists = (_test), \ - .size = sizeof(_type), \ - .flags = VMS_SINGLE|VMS_POINTER, \ - .offset = vmstate_offset_value(_state, _field, _type), \ + .size = sizeof(_type), \ + .flags = VMS_SINGLE|VMS_POINTER, \ + .offset = vmstate_offset_value(_state, _field, _type), \ } #define VMSTATE_2DARRAY(_field, _state, _n1, _n2, _test, _info, _type) { \ @@ -555,7 +555,7 @@ extern const VMStateInfo vmstate_info_bitmap; VMSTATE_SINGLE(_f, _s, NULL, vmstate_info_float64, float64) #define VMSTATE_TIMER_TEST(_f, _s, _test) \ - VMSTATE_POINTER_TEST(_f, _s, _test, vmstate_info_timer, QEMUTimer *) + VMSTATE_POINTER(_f, _s, _test, vmstate_info_timer, QEMUTimer*) #define VMSTATE_TIMER(_f, _s) \ VMSTATE_TIMER_TEST(_f, _s, NULL) -- 1.9.0