diff options
author | dholland <dholland@NetBSD.org> | 2009-05-25 23:14:33 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-05-25 23:14:33 +0000 |
commit | b699392ee5e6c55d892a0ab1a639208a373d9bab (patch) | |
tree | 4edbb8ac6ae03948294742a29c376a8854df46cd /mille/extern.c | |
parent | 28a2fb534d0a6db57738352113f148c57f1078f1 (diff) | |
download | bsdgames-darwin-b699392ee5e6c55d892a0ab1a639208a373d9bab.tar.gz bsdgames-darwin-b699392ee5e6c55d892a0ab1a639208a373d9bab.tar.zst bsdgames-darwin-b699392ee5e6c55d892a0ab1a639208a373d9bab.zip |
sprintf -> snprintf
Diffstat (limited to 'mille/extern.c')
-rw-r--r-- | mille/extern.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/extern.c b/mille/extern.c index 8c568cce..da46af16 100644 --- a/mille/extern.c +++ b/mille/extern.c @@ -1,4 +1,4 @@ -/* $NetBSD: extern.c,v 1.7 2003/08/07 09:37:25 agc Exp $ */ +/* $NetBSD: extern.c,v 1.8 2009/05/25 23:17:31 dholland Exp $ */ /* * Copyright (c) 1982, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: extern.c,v 1.7 2003/08/07 09:37:25 agc Exp $"); +__RCSID("$NetBSD: extern.c,v 1.8 2009/05/25 23:17:31 dholland Exp $"); #endif #endif /* not lint */ @@ -51,7 +51,7 @@ bool Debug, /* set if debugging code on */ Order, /* set if hand should be sorted */ Saved; /* set if game just saved */ -char Initstr[100]; /* initial string for error field */ +char Initstr[INITSTR_SIZE]; /* initial string for error field */ const char *C_fmt = "%-18.18s", /* format for printing cards */ *Fromfile = NULL, /* startup file for game */ *const _cn[NUM_CARDS] = { /* Card name buffer */ |