summaryrefslogtreecommitdiff
path: root/exit.h
diff options
context:
space:
mode:
Diffstat (limited to 'exit.h')
-rw-r--r--exit.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/exit.h b/exit.h
index 39011c8..147392d 100644
--- a/exit.h
+++ b/exit.h
@@ -1,6 +1,10 @@
#ifndef EXIT_H
#define EXIT_H
-extern void _exit();
+#ifndef __GNUC__
+ extern void _exit();
+#else
+ extern void _exit(int);
+#endif /* __GNUC__ */
#endif