Commit f54860ea by Uros Bizjak Committed by Uros Bizjak

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
parent b2505143
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> 2014-07-04 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface * testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <ffi.h> #include <ffi.h>
#include <ffi_common.h> #include <ffi_common.h>
#include <stdlib.h>
/* Force FFI_TYPE_LONGDOUBLE to be different than FFI_TYPE_DOUBLE; /* Force FFI_TYPE_LONGDOUBLE to be different than FFI_TYPE_DOUBLE;
all further uses in this file will refer to the 128-bit type. */ 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) ...@@ -273,7 +272,7 @@ ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp)
break; break;
default: default:
abort (); FFI_ASSERT (0);
} }
argn += ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; argn += ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
......
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