summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2016-02-20 06:41:10 -0500
committerAnthony Green <green@moxielogic.com>2016-02-20 06:41:10 -0500
commit0bb71b52f5a60643ad55f801f1c652855b0e5cc5 (patch)
treefd57663a520fcbbb85fb2b1387e56408f6909343 /include
parent296a283a46057a6a643f1f64534324af34b7ed19 (diff)
parent8bec5ca26a9977e6c05d6bfa1bbbc7f6f99af4e7 (diff)
downloadlibffi-0bb71b52f5a60643ad55f801f1c652855b0e5cc5.tar.gz
Merge pull request #211 from tromey/move-prep-types-out-of-ffi.h
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 98843b3..cd3358f 100644
--- a/include/ffi.h.in
+++ b/include/ffi.h.in
@@ -229,11 +229,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
{