summaryrefslogtreecommitdiff
path: root/exit.h
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2014-04-27 23:04:51 (GMT)
committerJohn Denker <jsd@av8n.com>2014-04-27 23:33:23 (GMT)
commit8e0679d9227c964d8df84bcb71054a4f14f72343 (patch)
treeee70210eb701bc604a1b6c577797c989f94fd0be /exit.h
parent97f3e615e5d634ca0b762193c0e87017d41584fd (diff)
get rid of some warnings
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