summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-14 18:28:30 -0400
committerNeil Moore <neil@s-z.org>2014-05-14 18:28:30 -0400
commita417c40e72742548630588123da44dad5d4c9bfd (patch)
treeef8257796c655b88e38bc80fc2469f9a6d54a8c6 /crawl-ref/source/ouch.cc
parent7bce4e130355a4194fbf40a25ce32140b5ebcc54 (diff)
downloadcrawl-ref-a417c40e72742548630588123da44dad5d4c9bfd.tar.gz
crawl-ref-a417c40e72742548630588123da44dad5d4c9bfd.zip
Mark a couple of functions as NORETURN (floatingatoll)
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 8471de2244..e6ed053c9b 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -73,7 +73,7 @@
#include "shout.h"
#include "xom.h"
-static void _end_game(scorefile_entry &se);
+static NORETURN void _end_game(scorefile_entry &se);
static void _maybe_melt_player_enchantments(beam_type flavour, int damage)
{
@@ -1285,7 +1285,7 @@ static void _delete_files()
you.save = 0;
}
-void screen_end_game(string text)
+NORETURN void screen_end_game(string text)
{
crawl_state.cancel_cmd_all();
_delete_files();
@@ -1303,7 +1303,7 @@ void screen_end_game(string text)
game_ended();
}
-void _end_game(scorefile_entry &se)
+static NORETURN void _end_game(scorefile_entry &se)
{
for (int i = 0; i < ENDOFPACK; i++)
if (you.inv[i].defined() && item_type_unknown(you.inv[i]))