From ef1ce8744b9b112b86f45bad76dab76ffe4ab8d1 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Mon, 11 Jul 2011 11:30:50 +0000 Subject: [PATCH] * config/config.ffi.c: Move declaration of g_dbl to begin of function. Patch by Sebastian Reitenbach git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33515 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ config/config.ffi.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) 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;