diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-08-19 07:42:28 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-08-19 07:42:28 +0000 |
commit | ed884b9fa4509c09f0f7ab71efe57a4e83a2e055 (patch) | |
tree | ef9d859a0754785b42ea5cacb27aff54b5000315 /games/trek/damaged.c | |
parent | f4fc9566a4d35c0cc2bf8c7f1136287d8eec8c44 (diff) |
tags, formatting, ANSI-fication, prototypes, de-typos, and the occasional
initialization, removal of unused variable, or other minor fix. Most
changes are from or inspired by NetBSD.
Diffstat (limited to 'games/trek/damaged.c')
-rw-r--r-- | games/trek/damaged.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/trek/damaged.c b/games/trek/damaged.c index 004b2b05fd3..287264bca47 100644 --- a/games/trek/damaged.c +++ b/games/trek/damaged.c @@ -1,3 +1,4 @@ +/* $OpenBSD: damaged.c,v 1.2 1998/08/19 07:41:22 pjanzen Exp $ */ /* $NetBSD: damaged.c,v 1.3 1995/04/22 10:58:41 cgd Exp $ */ /* @@ -37,11 +38,11 @@ #if 0 static char sccsid[] = "@(#)damaged.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: damaged.c,v 1.3 1995/04/22 10:58:41 cgd Exp $"; +static char rcsid[] = "$OpenBSD: damaged.c,v 1.2 1998/08/19 07:41:22 pjanzen Exp $"; #endif #endif /* not lint */ -# include "trek.h" +#include "trek.h" /* DAMAGED -- check for device damaged ** @@ -50,8 +51,9 @@ static char rcsid[] = "$NetBSD: damaged.c,v 1.3 1995/04/22 10:58:41 cgd Exp $"; ** event list for a "device fix" action on that device. */ +int damaged(dev) -int dev; + int dev; { register int d; register struct event *e; |