SCCS-vsn: games/monop/prop.c 5.2
SCCS-vsn: games/trek/getpar.c 4.5
SCCS-vsn: games/trek/shield.c 5.2
SCCS-vsn: games/snake/snake/move.c 5.2
-static char sccsid[] = "@(#)prop.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)prop.c 5.2 (Berkeley) %G%";
#endif not lint
# include "monop.ext"
#endif not lint
# include "monop.ext"
i = ++i % num_play;
if (in[i]) {
do {
i = ++i % num_play;
if (in[i]) {
do {
- sprintf(buf, "%s: ", name_list[i]);
+ (void)sprintf(buf, "%s: ", name_list[i]);
cur_bid = get_int(buf);
if (cur_bid == 0) {
in[i] = FALSE;
cur_bid = get_int(buf);
if (cur_bid == 0) {
in[i] = FALSE;
-static char sccsid[] = "@(#)move.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)move.c 5.2 (Berkeley) %G%";
#endif not lint
/*************************************************************************
#endif not lint
/*************************************************************************
p.line = ps->line+1; p.col = ps->col+1;
move(&p);
p.line = ps->line+1; p.col = ps->col+1;
move(&p);
- sprintf(str,st,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9);
+ (void)sprintf(str,st,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9);
char *st;
int v0,v1,v2,v3,v4,v5,v6,v7,v8,v9;
{
char *st;
int v0,v1,v2,v3,v4,v5,v6,v7,v8,v9;
{
- sprintf(str,st,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9);
+ (void)sprintf(str,st,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9);
-static char sccsid[] = "@(#)getpar.c 4.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)getpar.c 4.5 (Berkeley) %G%";
#endif not lint
# include <stdio.h>
#endif not lint
# include <stdio.h>
if (t == 0)
t = " \t\n;";
if (t == 0)
t = " \t\n;";
- sprintf(format, "%%%d[^%s]", l, t);
+ (void)sprintf(format, "%%%d[^%s]", l, t);
while (1)
{
if ((f = testnl()) && s)
while (1)
{
if ((f = testnl()) && s)
-static char sccsid[] = "@(#)shield.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)shield.c 5.2 (Berkeley) %G%";
#endif not lint
# include "trek.h"
#endif not lint
# include "trek.h"
- sprintf(s, "%s %s up. Do you want %s down", device, dev2, dev3);
+ (void)sprintf(s, "%s %s up. Do you want %s down", device, dev2, dev3);
- sprintf(s, "%s %s down. Do you want %s up", device, dev2, dev3);
+ (void)sprintf(s, "%s %s down. Do you want %s up", device, dev2, dev3);
if (!getynpar(s))
return;
i = !*stat;
if (!getynpar(s))
return;
i = !*stat;