Commit 859f7aaf by Andreas Tobler Committed by David Edelsohn

ffi_darwin.c (ffi_prep_closure): Declare fd at beginning of function (for older apple cc).

2002-05-13  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
        beginning of function (for older apple cc).

From-SVN: r53430
parent 86397868
2002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
beginning of function (for older apple cc).
2002-05-08 Alexandre Oliva <aoliva@redhat.com> 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
Darwin ABI support (c) 2001 John Hornkvist Darwin ABI support (c) 2001 John Hornkvist
AIX ABI support (c) 2002 Free Software Foundation, Inc. AIX ABI support (c) 2002 Free Software Foundation, Inc.
$Id: ffi_darwin.c,v 1.3 2002/02/21 19:14:28 dje Exp $ $Id: ffi_darwin.c,v 1.4 2002/03/07 18:24:42 dje Exp $
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the
...@@ -455,6 +455,7 @@ ffi_prep_closure (ffi_closure* closure, ...@@ -455,6 +455,7 @@ ffi_prep_closure (ffi_closure* closure,
{ {
unsigned int *tramp; unsigned int *tramp;
struct ffi_aix_trampoline_struct *tramp_aix; struct ffi_aix_trampoline_struct *tramp_aix;
aix_fd *fd;
switch (cif->abi) switch (cif->abi)
{ {
...@@ -486,7 +487,7 @@ ffi_prep_closure (ffi_closure* closure, ...@@ -486,7 +487,7 @@ ffi_prep_closure (ffi_closure* closure,
case FFI_AIX: case FFI_AIX:
tramp_aix = (struct ffi_aix_trampoline_struct *) (closure->tramp); tramp_aix = (struct ffi_aix_trampoline_struct *) (closure->tramp);
aix_fd *fd = (aix_fd *)(void *)ffi_closure_ASM; fd = (aix_fd *)(void *)ffi_closure_ASM;
FFI_ASSERT (cif->abi == FFI_AIX); FFI_ASSERT (cif->abi == FFI_AIX);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment