Commit cd4428911d5c4d25ce2c24e6728124792124bba2

Jeremy Huddleston Sequoia 2021-06-28T04:56:30

Add missing FFI_HIDDEN to ffi_tramp_is_present declaration (#651) Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/ffi_common.h b/include/ffi_common.h
index 20aa756..2bd31b0 100644
--- a/include/ffi_common.h
+++ b/include/ffi_common.h
@@ -126,7 +126,7 @@ void *ffi_data_to_code_pointer (void *data) FFI_HIDDEN;
 
 /* The arch code calls this to determine if a given closure has a
    static trampoline. */
-int ffi_tramp_is_present (void *closure);
+int ffi_tramp_is_present (void *closure) FFI_HIDDEN;
 
 /* Extended cif, used in callback from assembly routine */
 typedef struct