summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/sparc/sunos4.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/sparc/sunos4.h')
-rw-r--r--contrib/gcc/config/sparc/sunos4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/config/sparc/sunos4.h b/contrib/gcc/config/sparc/sunos4.h
index e5b2dcc..513251c 100644
--- a/contrib/gcc/config/sparc/sunos4.h
+++ b/contrib/gcc/config/sparc/sunos4.h
@@ -41,6 +41,8 @@ Boston, MA 02111-1307, USA. */
/* SunOS has on_exit instead of atexit. */
/* The man page says it returns int. */
+#ifdef IN_LIBGCC2
extern int on_exit PARAMS ((void *, void *));
+#endif
#define ON_EXIT(FUNC) on_exit ((FUNC), 0)
#define NEED_ATEXIT
OpenPOWER on IntegriCloud