From bc93ae9d0a3cf520defa5a4ff6bd3e8d17782c97 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sat, 30 Apr 2011 23:51:25 +0200 Subject: [PATCH 5/8] Declare default functions as noreturn (since they are such) --- src/client/game.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/game.h b/src/client/game.h index 651dff4..1d9a997 100644 --- a/src/client/game.h +++ b/src/client/game.h @@ -1,7 +1,7 @@ #ifndef GAME_H #define GAME_H -extern void game_quit(void); -extern void game_start(void); +extern void game_quit(void) __attribute__ ((noreturn)); +extern void game_start(void) __attribute__ ((noreturn)); #endif /* GAME_H */ -- 1.7.5.rc3