From e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 05:17:57 +0000 Subject: sprinkle static --- backgammon/common_source/save.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'backgammon/common_source/save.c') 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; -- cgit v1.2.3