summaryrefslogtreecommitdiff
path: root/gcc/gthr-gnat.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 16:57:40 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 16:57:40 +0000
commitbc9fbf5dec10a5a0131608cefd9b97d273064814 (patch)
treebdc2915dddeefc851e6591a2b146707386ffa47f /gcc/gthr-gnat.h
parent859f2d3b2d529dce85ee77a28e4f2d9224d81a55 (diff)
downloadgcc-bc9fbf5dec10a5a0131608cefd9b97d273064814.tar.gz
* gthr-gnat.c: Add visibility #pragmas.
* gthr-gnat.h : Likewise. * gthr.h: Likewise. * libgcc2.c (__ffsSI2): Move prototype to libgcc2.h. (__ffsDI2): Likewise. (__clzSI2): Likewise. (__ctzSI2): Likewise. (__ctzDI2): Likewise. (__popcountSI2): Likewise. (__popcountDI2): Likewise. (__paritySI2): Likewise. (__parityDI2): Likewise. * libgcc2.h: Add visibility #pragmas. (__clzDI2): Add prototype. (__clzSI2): Likewise. (__ctzSI2): Likewise. (__ffsDI2): Likewise. (__ffsSI2): Likewise. (__ctzDI2): Likewise. (__popcountSI2): Likewise. (__popcountDI2): Likewise. (__paritySI2): Likewise. (__parityDI2): Likewise. * unwind-dw2-fde.h: Add visibility #pragmas. * unwind.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85489 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-gnat.h')
-rw-r--r--gcc/gthr-gnat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gthr-gnat.h b/gcc/gthr-gnat.h
index 727814197c0..d39a370451c 100644
--- a/gcc/gthr-gnat.h
+++ b/gcc/gthr-gnat.h
@@ -28,6 +28,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#ifndef GCC_GTHR_GNAT_H
#define GCC_GTHR_GNAT_H
+#pragma GCC visibility push(default)
+
/* Just provide compatibility for mutex handling. */
typedef int __gthread_mutex_t;
@@ -39,5 +41,7 @@ extern int __gthread_active_p (void);
extern int __gthread_mutex_lock (__gthread_mutex_t *);
extern int __gthread_mutex_unlock (__gthread_mutex_t *);
+#pragma GCC visibility pop
+
#endif /* ! GCC_GTHR_GNAT_H */