summaryrefslogtreecommitdiffstats
path: root/hack
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-08-02 17:18:41 +0000
committermycroft <mycroft@NetBSD.org>1993-08-02 17:18:41 +0000
commitbe2e4143844eacde377f9efb27dcb1b55e6ecaf6 (patch)
tree49a970ae12ad0c21a852fa125b5b51c2c488c5e4 /hack
parentb8487be54479a1ff66937082686d4db9f04f7627 (diff)
downloadbsdgames-darwin-be2e4143844eacde377f9efb27dcb1b55e6ecaf6.tar.gz
bsdgames-darwin-be2e4143844eacde377f9efb27dcb1b55e6ecaf6.tar.zst
bsdgames-darwin-be2e4143844eacde377f9efb27dcb1b55e6ecaf6.zip
Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
Diffstat (limited to 'hack')
-rw-r--r--hack/alloc.c5
-rw-r--r--hack/hack.options.c9
-rw-r--r--hack/hack.pager.c9
-rw-r--r--hack/hack.potion.c9
-rw-r--r--hack/hack.pri.c9
-rw-r--r--hack/hack.read.c9
-rw-r--r--hack/hack.rip.c9
-rw-r--r--hack/hack.rumors.c9
-rw-r--r--hack/hack.save.c9
-rw-r--r--hack/hack.search.c9
-rw-r--r--hack/hack.shk.c9
-rw-r--r--hack/hack.shknam.c9
-rw-r--r--hack/hack.steal.c9
-rw-r--r--hack/hack.termcap.c9
-rw-r--r--hack/hack.timeout.c9
-rw-r--r--hack/hack.topl.c9
-rw-r--r--hack/hack.track.c9
-rw-r--r--hack/hack.trap.c9
-rw-r--r--hack/hack.u_init.c9
-rw-r--r--hack/hack.unix.c9
-rw-r--r--hack/hack.vault.c9
-rw-r--r--hack/hack.version.c10
-rw-r--r--hack/hack.wield.c9
-rw-r--r--hack/hack.wizard.c9
-rw-r--r--hack/hack.worm.c9
-rw-r--r--hack/hack.worn.c9
-rw-r--r--hack/hack.zap.c9
-rw-r--r--hack/makedefs.c9
-rw-r--r--hack/rnd.c4
29 files changed, 196 insertions, 57 deletions
diff --git a/hack/alloc.c b/hack/alloc.c
index d94bf8b9..60bf4da5 100644
--- a/hack/alloc.c
+++ b/hack/alloc.c
@@ -1,4 +1,7 @@
-/* alloc.c - version 1.0.2 */
+#ifndef lint
+static char rcsid[] = "$Id: alloc.c,v 1.2 1993/08/02 17:19:10 mycroft Exp $";
+#endif /* not lint */
+
#ifdef LINT
/*
diff --git a/hack/hack.options.c b/hack/hack.options.c
index ed95de31..941fa58b 100644
--- a/hack/hack.options.c
+++ b/hack/hack.options.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.options.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.options.c,v 1.2 1993/08/02 17:19:12 mycroft Exp $";
+#endif /* not lint */
#include "config.h"
#include "hack.h"
diff --git a/hack/hack.pager.c b/hack/hack.pager.c
index b1edb916..c1572b38 100644
--- a/hack/hack.pager.c
+++ b/hack/hack.pager.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.pager.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.pager.c,v 1.2 1993/08/02 17:19:13 mycroft Exp $";
+#endif /* not lint */
/* This file contains the command routine dowhatis() and a pager. */
/* Also readmail() and doshell(), and generally the things that
diff --git a/hack/hack.potion.c b/hack/hack.potion.c
index c860299e..9b0d70f4 100644
--- a/hack/hack.potion.c
+++ b/hack/hack.potion.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.potion.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.potion.c,v 1.2 1993/08/02 17:19:14 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
extern int float_down();
diff --git a/hack/hack.pri.c b/hack/hack.pri.c
index 13ee6b7d..aae52d5e 100644
--- a/hack/hack.pri.c
+++ b/hack/hack.pri.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.pri.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.pri.c,v 1.2 1993/08/02 17:19:16 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
#include <stdio.h>
diff --git a/hack/hack.read.c b/hack/hack.read.c
index 5c0de3a7..5c7840e1 100644
--- a/hack/hack.read.c
+++ b/hack/hack.read.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.read.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.read.c,v 1.2 1993/08/02 17:19:17 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.rip.c b/hack/hack.rip.c
index 7f729ba2..8bb37559 100644
--- a/hack/hack.rip.c
+++ b/hack/hack.rip.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.rip.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.rip.c,v 1.3 1993/08/02 17:19:18 mycroft Exp $";
+#endif /* not lint */
#include <stdio.h>
#include "hack.h"
diff --git a/hack/hack.rumors.c b/hack/hack.rumors.c
index ee5f1399..e86142df 100644
--- a/hack/hack.rumors.c
+++ b/hack/hack.rumors.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.rumors.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.rumors.c,v 1.2 1993/08/02 17:19:20 mycroft Exp $";
+#endif /* not lint */
#include <stdio.h>
#include "hack.h" /* for RUMORFILE and BSD (index) */
diff --git a/hack/hack.save.c b/hack/hack.save.c
index fe09e1e7..7aae72d2 100644
--- a/hack/hack.save.c
+++ b/hack/hack.save.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.save.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.save.c,v 1.2 1993/08/02 17:19:21 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
extern char genocided[60]; /* defined in Decl.c */
diff --git a/hack/hack.search.c b/hack/hack.search.c
index c0ef9932..21803908 100644
--- a/hack/hack.search.c
+++ b/hack/hack.search.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.search.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.search.c,v 1.2 1993/08/02 17:19:22 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.shk.c b/hack/hack.shk.c
index 1478b1d8..ca6bb2a5 100644
--- a/hack/hack.shk.c
+++ b/hack/hack.shk.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.shk.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.shk.c,v 1.2 1993/08/02 17:19:23 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
#ifdef QUEST
diff --git a/hack/hack.shknam.c b/hack/hack.shknam.c
index 9d4b860f..38cdaac3 100644
--- a/hack/hack.shknam.c
+++ b/hack/hack.shknam.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.shknam.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.shknam.c,v 1.2 1993/08/02 17:19:25 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.steal.c b/hack/hack.steal.c
index f123d37f..0bb4f1cc 100644
--- a/hack/hack.steal.c
+++ b/hack/hack.steal.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.steal.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.steal.c,v 1.2 1993/08/02 17:19:26 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.termcap.c b/hack/hack.termcap.c
index e94d6729..3999cade 100644
--- a/hack/hack.termcap.c
+++ b/hack/hack.termcap.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.termcap.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.termcap.c,v 1.2 1993/08/02 17:19:27 mycroft Exp $";
+#endif /* not lint */
#include <stdio.h>
#include "config.h" /* for ROWNO and COLNO */
diff --git a/hack/hack.timeout.c b/hack/hack.timeout.c
index d8282976..38095f83 100644
--- a/hack/hack.timeout.c
+++ b/hack/hack.timeout.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.timeout.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.timeout.c,v 1.2 1993/08/02 17:19:29 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.topl.c b/hack/hack.topl.c
index 13a033d1..3c1b6f3b 100644
--- a/hack/hack.topl.c
+++ b/hack/hack.topl.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.topl.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.topl.c,v 1.2 1993/08/02 17:19:30 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
#include <stdio.h>
diff --git a/hack/hack.track.c b/hack/hack.track.c
index 6b41c2cd..5960ead6 100644
--- a/hack/hack.track.c
+++ b/hack/hack.track.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.track.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.track.c,v 1.2 1993/08/02 17:19:31 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.trap.c b/hack/hack.trap.c
index e426dd1c..15983f97 100644
--- a/hack/hack.trap.c
+++ b/hack/hack.trap.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.trap.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.trap.c,v 1.2 1993/08/02 17:19:32 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.u_init.c b/hack/hack.u_init.c
index 4d664a61..8cef4170 100644
--- a/hack/hack.u_init.c
+++ b/hack/hack.u_init.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.u_init.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.u_init.c,v 1.3 1993/08/02 17:19:33 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
#include <stdio.h>
diff --git a/hack/hack.unix.c b/hack/hack.unix.c
index 03b294db..fdb8ae00 100644
--- a/hack/hack.unix.c
+++ b/hack/hack.unix.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.unix.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.unix.c,v 1.2 1993/08/02 17:19:34 mycroft Exp $";
+#endif /* not lint */
/* This file collects some Unix dependencies; hack.pager.c contains some more */
diff --git a/hack/hack.vault.c b/hack/hack.vault.c
index a82c9f9a..0c8a2671 100644
--- a/hack/hack.vault.c
+++ b/hack/hack.vault.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.vault.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.vault.c,v 1.2 1993/08/02 17:19:36 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
#ifdef QUEST
diff --git a/hack/hack.version.c b/hack/hack.version.c
index 7db39475..ee1381eb 100644
--- a/hack/hack.version.c
+++ b/hack/hack.version.c
@@ -1,6 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.version.c - version 1.0.3 */
-/* $Header: /cvsroot/src/games/hack/hack.version.c,v 1.1.1.1 1993/03/21 09:45:37 cgd Exp $ */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.version.c,v 1.2 1993/08/02 17:19:37 mycroft Exp $";
+#endif /* not lint */
#include "date.h"
diff --git a/hack/hack.wield.c b/hack/hack.wield.c
index d0609a1c..da92119a 100644
--- a/hack/hack.wield.c
+++ b/hack/hack.wield.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.wield.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.wield.c,v 1.2 1993/08/02 17:19:38 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
extern struct obj zeroobj;
diff --git a/hack/hack.wizard.c b/hack/hack.wizard.c
index 835ecc3d..caec93f7 100644
--- a/hack/hack.wizard.c
+++ b/hack/hack.wizard.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.wizard.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.wizard.c,v 1.2 1993/08/02 17:19:39 mycroft Exp $";
+#endif /* not lint */
/* wizard code - inspired by rogue code from Merlyn Leroy (digi-g!brian) */
diff --git a/hack/hack.worm.c b/hack/hack.worm.c
index ba3505d1..b88269e4 100644
--- a/hack/hack.worm.c
+++ b/hack/hack.worm.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.worm.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.worm.c,v 1.2 1993/08/02 17:19:40 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
#ifndef NOWORM
diff --git a/hack/hack.worn.c b/hack/hack.worn.c
index bfec47f2..638befbe 100644
--- a/hack/hack.worn.c
+++ b/hack/hack.worn.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.worn.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.worn.c,v 1.2 1993/08/02 17:19:42 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/hack.zap.c b/hack/hack.zap.c
index e1472b56..85b9dc38 100644
--- a/hack/hack.zap.c
+++ b/hack/hack.zap.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* hack.zap.c - version 1.0.3 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: hack.zap.c,v 1.2 1993/08/02 17:19:43 mycroft Exp $";
+#endif /* not lint */
#include "hack.h"
diff --git a/hack/makedefs.c b/hack/makedefs.c
index aa113b9f..05d685ed 100644
--- a/hack/makedefs.c
+++ b/hack/makedefs.c
@@ -1,5 +1,10 @@
-/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
-/* makedefs.c - version 1.0.2 */
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ */
+
+#ifndef lint
+static char rcsid[] = "$Id: makedefs.c,v 1.2 1993/08/02 17:19:44 mycroft Exp $";
+#endif /* not lint */
#include <stdio.h>
diff --git a/hack/rnd.c b/hack/rnd.c
index 8547cef2..d90970af 100644
--- a/hack/rnd.c
+++ b/hack/rnd.c
@@ -1,4 +1,6 @@
-/* rnd.c - version 1.0.2 */
+#ifndef lint
+static char rcsid[] = "$Id: rnd.c,v 1.2 1993/08/02 17:19:45 mycroft Exp $";
+#endif /* not lint */
#define RND(x) ((random()>>3) % x)