diff options
author | Tim Angus <tim@ngus.net> | 2013-03-27 19:00:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-27 19:00:50 +0000 |
commit | 38daed324464666b5a4bb6a758c60e960b4610f0 (patch) | |
tree | e85a8d868ccc91833955be39bf35ca65485fb262 /src/ui/ui_syscalls.c | |
parent | f68ed0529955386976608b235b26f0abe8fc87c4 (diff) |
Fix some warnings caused by lack of noreturn
Diffstat (limited to 'src/ui/ui_syscalls.c')
-rw-r--r-- | src/ui/ui_syscalls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/ui_syscalls.c b/src/ui/ui_syscalls.c index e59343e1..f44a749f 100644 --- a/src/ui/ui_syscalls.c +++ b/src/ui/ui_syscalls.c @@ -48,6 +48,8 @@ void trap_Print( const char *string ) void trap_Error( const char *string ) { syscall( UI_ERROR, string ); + // shut up GCC warning about returning functions, because we know better + exit(1); } int trap_Milliseconds( void ) |