summaryrefslogtreecommitdiff
path: root/games/worm
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2015-12-26 00:26:41 +0000
committermestre <mestre@cvs.openbsd.org>2015-12-26 00:26:41 +0000
commitcd3ae956e87cd9a71362c652453ed1b666e3400c (patch)
tree552c5d7229cdaed36d4263180993b1fa2dec6bf8 /games/worm
parent3fb26cc31d7a4478dc8f38b04bdd6993f60fb4f5 (diff)
Set as __dead a few more functions, that don't return, on games/
With precious tip, help and also OK from tb@
Diffstat (limited to 'games/worm')
-rw-r--r--games/worm/worm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c
index c3f3eeca046..aa8d77f0a78 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: worm.c,v 1.34 2015/11/21 05:29:42 deraadt Exp $ */
+/* $OpenBSD: worm.c,v 1.35 2015/12/26 00:26:40 mestre Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -72,7 +72,7 @@ char outbuf[BUFSIZ];
volatile sig_atomic_t wantleave = 0;
volatile sig_atomic_t wantsuspend = 0;
-void crash(void);
+__dead void crash(void);
void display(struct body *, char);
void leave(int);
void life(void);