diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 05:17:57 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 05:17:57 +0000 |
commit | e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 (patch) | |
tree | 750e4d7083e19c9557737d01e5226e39e8377e56 /backgammon/common_source/save.c | |
parent | 653e85afa892eacbbdb9b34fd73115cc38be3911 (diff) | |
download | bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.gz bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.zst bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.zip |
sprinkle static
Diffstat (limited to 'backgammon/common_source/save.c')
-rw-r--r-- | backgammon/common_source/save.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/backgammon/common_source/save.c b/backgammon/common_source/save.c index b6f6a30f..2e7f29c1 100644 --- a/backgammon/common_source/save.c +++ b/backgammon/common_source/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.12 2006/03/18 23:25:30 christos Exp $ */ +/* $NetBSD: save.c,v 1.13 2009/08/12 05:17:57 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: save.c,v 1.12 2006/03/18 23:25:30 christos Exp $"); +__RCSID("$NetBSD: save.c,v 1.13 2009/08/12 05:17:57 dholland Exp $"); #endif #endif /* not lint */ @@ -53,6 +53,8 @@ static const char type[] = "'.\nType \"backgammon "; static const char rec[] = "\" to recover your game.\n\n"; static const char cantrec[] = "Can't recover file: "; +static void norec(const char *) __attribute__((__noreturn__)); + void save(int n) { @@ -164,7 +166,7 @@ recover(const char *s) rflag = 1; } -void +static void norec(const char *s) { const char *c; |