aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:55:37 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:55:37 -0500
commitc84b672ea9b4144aea41a6097de1203b93b6f4b6 (patch)
tree47663a985951170cec012610e03d1bb6c851d948 /gcc/libgcc2.c
parenta2a8c03cad98d71f8b75ad92dbe2c9137bde5fa3 (diff)
downloadgcc-c84b672ea9b4144aea41a6097de1203b93b6f4b6.zip
gcc-c84b672ea9b4144aea41a6097de1203b93b6f4b6.tar.gz
gcc-c84b672ea9b4144aea41a6097de1203b93b6f4b6.tar.bz2
(atexit): Prototype now works with NT.
From-SVN: r9016
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 3f12552..b8891da 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1425,7 +1425,11 @@ BLOCK_PROFILER_CODE
char *ctime ();
#ifdef HAVE_ATEXIT
+#ifdef WINNT
+extern int atexit (void (*) (void));
+#else
extern void atexit (void (*) (void));
+#endif
#define ON_EXIT(FUNC,ARG) atexit ((FUNC))
#else
#ifdef sun