summaryrefslogtreecommitdiff
path: root/games/caesar/caesar.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-03 20:30:18 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-03 20:30:18 +0000
commit6e5e8f11a0e6a4823e36487175cfdd139d0a5040 (patch)
tree6e022a72265627b1cb89c9e909f715378f824e6f /games/caesar/caesar.c
parent188fc8cc03e0a42b09f888f17b7ab9decd3a2116 (diff)
Mark functions calling exit(3) as __dead.
Issue reported by David Crosby <dave at dafyddcrosby dot com> on tech@. ok miod@
Diffstat (limited to 'games/caesar/caesar.c')
-rw-r--r--games/caesar/caesar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/caesar/caesar.c b/games/caesar/caesar.c
index 4ce88a7aee0..a95999690df 100644
--- a/games/caesar/caesar.c
+++ b/games/caesar/caesar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: caesar.c,v 1.15 2010/02/22 18:57:42 otto Exp $ */
+/* $OpenBSD: caesar.c,v 1.16 2014/07/03 20:30:17 schwarze Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -61,8 +61,8 @@ double stdf[26] = {
2.62, 0.81, 1.88, 0.23, 2.07, 0.06
};
-void printit(int);
-void usage(void);
+__dead void printit(int);
+__dead void usage(void);
int