mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
Mark game_mode_context_loop as 'noreturn'
The function contains the main-loop of the daemon and will indeed never return.
This commit is contained in:
parent
d12ab6830f
commit
c34186be07
@ -38,7 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
/**
|
||||
* Run the main D-BUS loop "forever"
|
||||
*/
|
||||
void game_mode_context_loop(GameModeContext *context);
|
||||
void game_mode_context_loop(GameModeContext *context) __attribute__((noreturn));
|
||||
|
||||
/**
|
||||
* Inhibit the screensaver
|
||||
|
Loading…
x
Reference in New Issue
Block a user