ffi.c (ffi_closure_helper_SYSV): Add hidden visibility attribute.
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Feb 2003 23:58:57 +0000 (00:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Feb 2003 23:58:57 +0000 (00:58 +0100)
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
attribute.

From-SVN: r62454

libffi/ChangeLog
libffi/src/s390/ffi.c

index 6d1157193ef7c3e012d0f969d8ec1cbf8ade53d2..f0b68531560096f83bd164975cc44a37028300df 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
+       attribute.
+
 2003-01-31  Christian Cornelssen  <ccorn@cs.tu-berlin.de>,
            Andreas Schwab  <schwab@suse.de>
 
index 9e7d16954f62ca93844bcb0331a366a743c74a83..d672b3c0ef3dd472ae03b73eca8798fde853230a 100644 (file)
  
 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 ===========================*/
  
 /*====================================================================*/