git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin3 - Updated clientside IPC code to allow select() usage by client
[tpg/acess2.git]
/
Usermode
/
Libraries
/
crt0.o_src
/
crt0.c
diff --git
a/Usermode/Libraries/crt0.o_src/crt0.c
b/Usermode/Libraries/crt0.o_src/crt0.c
index
7c0e3ff
..
cb42772
100644
(file)
--- a/
Usermode/Libraries/crt0.o_src/crt0.c
+++ b/
Usermode/Libraries/crt0.o_src/crt0.c
@@
-8,8
+8,9
@@
typedef void (*constructor_t)(void);
exithandler_t _crt0_exit_handler;
extern constructor_t _crtbegin_ctors[];
exithandler_t _crt0_exit_handler;
extern constructor_t _crtbegin_ctors[];
+extern void _exit(int status) __attribute__((noreturn));
-
int
start(int argc, char *argv[], char **envp)
+
void
start(int argc, char *argv[], char **envp)
{
int i;
int rv;
{
int i;
int rv;
@@
-21,6
+22,6
@@
int start(int argc, char *argv[], char **envp)
if( _crt0_exit_handler )
_crt0_exit_handler();
if( _crt0_exit_handler )
_crt0_exit_handler();
-
-
return rv
;
+
+
_exit(rv)
;
}
}
UCC
git Repository :: git.ucc.asn.au