ffi.c: Do not include stdlib.h.
* src/alpha/ffi.c: Do not include stdlib.h. (ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort. From-SVN: r213049
This commit is contained in:
parent
b250514336
commit
f54860ea96
|
@ -1,3 +1,8 @@
|
|||
2014-07-21 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* src/alpha/ffi.c: Do not include stdlib.h.
|
||||
(ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort.
|
||||
|
||||
2014-07-04 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include <ffi.h>
|
||||
#include <ffi_common.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Force FFI_TYPE_LONGDOUBLE to be different than FFI_TYPE_DOUBLE;
|
||||
all further uses in this file will refer to the 128-bit type. */
|
||||
|
@ -273,7 +272,7 @@ ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp)
|
|||
break;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
FFI_ASSERT (0);
|
||||
}
|
||||
|
||||
argn += ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
|
||||
|
|
Loading…
Reference in New Issue