diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-03-12 03:03:05 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-03-12 03:03:05 +0000 |
commit | 464bf5d98ce6a9a142dc8e4bccc76cef3d94369f (patch) | |
tree | d7abc7ea470c535eda2dc6951e05d019d7e9a4ee /games/trek/torped.c | |
parent | b252f8d0f6dc726b14efb8b561a77780f984c6dc (diff) |
Correct documentation, remove useless code, remove duplicate documentation,
don't compile with xTRACE defined, and trim things.
Diffstat (limited to 'games/trek/torped.c')
-rw-r--r-- | games/trek/torped.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/trek/torped.c b/games/trek/torped.c index 7eec2a78001..88a2972b758 100644 --- a/games/trek/torped.c +++ b/games/trek/torped.c @@ -1,4 +1,4 @@ -/* $OpenBSD: torped.c,v 1.2 1998/08/19 07:42:11 pjanzen Exp $ */ +/* $OpenBSD: torped.c,v 1.3 1999/03/12 03:02:44 pjanzen Exp $ */ /* $NetBSD: torped.c,v 1.3 1995/04/22 10:59:34 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: torped.c,v 1.2 1998/08/19 07:42:11 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: torped.c,v 1.3 1999/03/12 03:02:44 pjanzen Exp $"; #endif #endif /* not lint */ @@ -112,7 +112,7 @@ torped(v) /* see if the user wants one */ if (!testnl()) { - k = ungetc(cgetc(0), stdin); + k = ungetc(getchar(), stdin); if (k >= '0' && k <= '9') burst = 1; } |