diff options
author | John Denker <jsd@av8n.com> | 2014-04-27 16:04:51 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2014-04-27 16:33:23 -0700 |
commit | 8e0679d9227c964d8df84bcb71054a4f14f72343 (patch) | |
tree | ee70210eb701bc604a1b6c577797c989f94fd0be /exit.h | |
parent | 97f3e615e5d634ca0b762193c0e87017d41584fd (diff) |
get rid of some warnings
Diffstat (limited to 'exit.h')
-rw-r--r-- | exit.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |