aboutsummaryrefslogtreecommitdiff
path: root/libffi/src/s390
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-02-05 23:58:57 +0000
committerJakub Jelinek <jakub@redhat.com>2003-02-05 23:58:57 +0000
commit7687b55cfa2e2f9f4b94d50d81eac11a80c97e29 (patch)
tree5db1ae5bbc847802866d682e930d410dc9535c61 /libffi/src/s390
parentd131e274a0bc749e401880d7e96fa49ea49057d6 (diff)
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
attribute. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@62454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/s390')
-rw-r--r--libffi/src/s390/ffi.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/libffi/src/s390/ffi.c b/libffi/src/s390/ffi.c
index 9e7d16954f6..d672b3c0ef3 100644
--- a/libffi/src/s390/ffi.c
+++ b/libffi/src/s390/ffi.c
@@ -70,9 +70,13 @@
static void ffi_prep_args (unsigned char *, extended_cif *);
static int ffi_check_float_struct (ffi_type *);
-void ffi_closure_helper_SYSV (ffi_closure *, unsigned long *,
- unsigned long long *, unsigned long *);
-
+void
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
+__attribute__ ((visibility ("hidden")))
+#endif
+ffi_closure_helper_SYSV (ffi_closure *, unsigned long *,
+ unsigned long long *, unsigned long *);
+
/*====================== End of Prototypes ===========================*/
/*====================================================================*/