diff --git a/ChangeLog b/ChangeLog index 8833b43ae..e322ed2fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-07-11 Fred Kiefer + + * config/config.ffi.c: Move declaration of g_dbl to begin of + function. + Patch by Sebastian Reitenbach + 2011-07-11 Fred Kiefer * Source/NSTimeZone.m (+systemTimeZone): Support the OpenSuse key diff --git a/config/config.ffi.c b/config/config.ffi.c index 0498e1648..8907bb04e 100644 --- a/config/config.ffi.c +++ b/config/config.ffi.c @@ -40,14 +40,13 @@ int main (void) ffi_type* cls_struct_fields0[5]; ffi_type cls_struct_type0; ffi_type* dbl_arg_types[5]; + struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0}; cls_struct_type0.size = 0; cls_struct_type0.alignment = 0; cls_struct_type0.type = FFI_TYPE_STRUCT; cls_struct_type0.elements = cls_struct_fields0; - struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0}; - cls_struct_fields0[0] = &ffi_type_float; cls_struct_fields0[1] = &ffi_type_float; cls_struct_fields0[2] = &ffi_type_float;