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 {