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/mille.h | |
| parent | 28a2fb534d0a6db57738352113f148c57f1078f1 (diff) | |
| download | bsdgames-darwin-b699392ee5e6c55d892a0ab1a639208a373d9bab.tar.gz bsdgames-darwin-b699392ee5e6c55d892a0ab1a639208a373d9bab.zip | |
sprintf -> snprintf
Diffstat (limited to 'mille/mille.h')
| -rw-r--r-- | mille/mille.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mille/mille.h b/mille/mille.h index 523d6f8e..b4e5cb38 100644 --- a/mille/mille.h +++ b/mille/mille.h @@ -1,4 +1,4 @@ -/* $NetBSD: mille.h,v 1.13 2004/01/27 20:30:30 jsm Exp $ */ +/* $NetBSD: mille.h,v 1.14 2009/05/25 23:17:31 dholland Exp $ */ /* * Copyright (c) 1982, 1993 @@ -211,7 +211,8 @@ typedef struct { extern bool Debug, Finished, Next, On_exit, Order, Saved; -extern char Initstr[]; +#define INITSTR_SIZE 100 +extern char Initstr[INITSTR_SIZE]; extern const char *C_fmt, *const *C_name, *Fromfile; extern int Card_no, End, Handstart, Movetype, Numgos, |
