diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-09-02 06:46:52 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-09-02 06:46:52 +0000 |
commit | 5326b8381955c08bac2de3d52a2c20b54400e5a8 (patch) | |
tree | 25cd75746b8380272db2635320788cbc007e1db9 /games/backgammon | |
parent | 67e005471da6102f6302774a602bbaabff53323e (diff) |
Delete two unused functions; jsm28@cam.ac.uk
Diffstat (limited to 'games/backgammon')
-rw-r--r-- | games/backgammon/common_source/back.h | 4 | ||||
-rw-r--r-- | games/backgammon/common_source/fancy.c | 10 | ||||
-rw-r--r-- | games/backgammon/common_source/subs.c | 11 |
3 files changed, 5 insertions, 20 deletions
diff --git a/games/backgammon/common_source/back.h b/games/backgammon/common_source/back.h index fd81a24fd1b..eabf63beeb6 100644 --- a/games/backgammon/common_source/back.h +++ b/games/backgammon/common_source/back.h @@ -1,4 +1,4 @@ -/* $OpenBSD: back.h,v 1.2 1998/03/19 11:13:14 pjanzen Exp $ */ +/* $OpenBSD: back.h,v 1.3 1998/09/02 06:46:51 pjanzen Exp $ */ /* * Copyright (c) 1980, 1993 @@ -179,9 +179,7 @@ void refresh __P((void)); void roll __P((void)); int rsetbrd __P((void)); void save __P((int)); -void strset __P((char *, char *)); int text __P((char **)); -void tos __P((void)); void wrboard __P((void)); void wrbsub __P((void)); void wrhit __P((int)); diff --git a/games/backgammon/common_source/fancy.c b/games/backgammon/common_source/fancy.c index ea86f4e71bc..fbff1ff40f9 100644 --- a/games/backgammon/common_source/fancy.c +++ b/games/backgammon/common_source/fancy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fancy.c,v 1.5 1998/08/19 05:55:03 pjanzen Exp $ */ +/* $OpenBSD: fancy.c,v 1.6 1998/09/02 06:46:51 pjanzen Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)fancy.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: fancy.c,v 1.5 1998/08/19 05:55:03 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: fancy.c,v 1.6 1998/09/02 06:46:51 pjanzen Exp $"; #endif #endif /* not lint */ @@ -567,12 +567,6 @@ clear() } void -tos() -{ /* home cursor */ - curmove(0, 0); -} - -void fancyc(c) int c; /* character to output */ { diff --git a/games/backgammon/common_source/subs.c b/games/backgammon/common_source/subs.c index bf8d57990b7..13e1ff444d8 100644 --- a/games/backgammon/common_source/subs.c +++ b/games/backgammon/common_source/subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subs.c,v 1.5 1998/03/19 11:13:26 pjanzen Exp $ */ +/* $OpenBSD: subs.c,v 1.6 1998/09/02 06:46:51 pjanzen Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: subs.c,v 1.5 1998/03/19 11:13:26 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: subs.c,v 1.6 1998/09/02 06:46:51 pjanzen Exp $"; #endif #endif /* not lint */ @@ -72,13 +72,6 @@ errexit(s) getout(0); } -void -strset(s1, s2) - char *s1, *s2; -{ - while ((*s1++ = *s2++) != '\0'); -} - int addbuf(c) int c; |