From 8bec5ca26a9977e6c05d6bfa1bbbc7f6f99af4e7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 11 Nov 2015 21:34:43 -0700 Subject: [PATCH] ffi_prep_types is internal-only --- include/ffi.h.in | 5 ----- include/ffi_common.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/ffi.h.in b/include/ffi.h.in index c43d52fd..897e78cc 100644 --- a/include/ffi.h.in +++ b/include/ffi.h.in @@ -231,11 +231,6 @@ typedef struct { #endif } ffi_cif; -#if @HAVE_LONG_DOUBLE_VARIANT@ -/* Used to adjust size/alignment of ffi types. */ -void ffi_prep_types (ffi_abi abi); -#endif - /* Used internally, but overridden by some architectures */ ffi_status ffi_prep_cif_core(ffi_cif *cif, ffi_abi abi, diff --git a/include/ffi_common.h b/include/ffi_common.h index 37f5a9e9..b3122979 100644 --- a/include/ffi_common.h +++ b/include/ffi_common.h @@ -82,6 +82,11 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif); ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif, unsigned int nfixedargs, unsigned int ntotalargs); +#if HAVE_LONG_DOUBLE_VARIANT +/* Used to adjust size/alignment of ffi types. */ +void ffi_prep_types (ffi_abi abi); +#endif + /* Extended cif, used in callback from assembly routine */ typedef struct {