summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2015-11-11 21:34:43 -0700
committerTom Tromey <tom@tromey.com>2015-11-15 10:51:14 -0700
commit8bec5ca26a9977e6c05d6bfa1bbbc7f6f99af4e7 (patch)
treec87da89a9bf28a04d27efb3fac8d557ed577a571 /include
parente9de7e35f2339598b16cbb375f9992643ed81209 (diff)
downloadlibffi-8bec5ca26a9977e6c05d6bfa1bbbc7f6f99af4e7.tar.gz
ffi_prep_types is internal-only
Diffstat (limited to 'include')
-rw-r--r--include/ffi.h.in5
-rw-r--r--include/ffi_common.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/include/ffi.h.in b/include/ffi.h.in
index c43d52f..897e78c 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 37f5a9e..b312297 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
{