summaryrefslogtreecommitdiffstats
path: root/hack/hack.version.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-19 16:56:41 +0000
committerchristos <christos@NetBSD.org>1997-10-19 16:56:41 +0000
commit84e7d0704483ce39bbdeacd5e676168db6fa664f (patch)
treef9ffeffa1a4342e749494bc3f5618552435839af /hack/hack.version.c
parentf73f1009084e75624e3bc00fef9cf4749de80dcc (diff)
downloadbsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.gz
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.zst
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.zip
WARNsify...
Diffstat (limited to 'hack/hack.version.c')
-rw-r--r--hack/hack.version.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/hack/hack.version.c b/hack/hack.version.c
index 538a0a7e..33a1cd9f 100644
--- a/hack/hack.version.c
+++ b/hack/hack.version.c
@@ -1,20 +1,27 @@
+/* $NetBSD: hack.version.c,v 1.4 1997/10/19 16:59:25 christos Exp $ */
+
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*/
+#include <sys/cdefs.h>
#ifndef lint
-static char rcsid[] = "$NetBSD: hack.version.c,v 1.3 1995/03/23 08:32:03 cgd Exp $";
-#endif /* not lint */
+__RCSID("$NetBSD: hack.version.c,v 1.4 1997/10/19 16:59:25 christos Exp $");
+#endif /* not lint */
-#include "date.h"
+#include "date.h"
+#include "hack.h"
+#include "extern.h"
-doversion(){
+int
+doversion()
+{
pline("%s 1.0.3 - last edit %s.", (
#ifdef QUEST
- "Quest"
+ "Quest"
#else
- "Hack"
-#endif QUEST
- ), datestring);
- return(0);
+ "Hack"
+#endif /* QUEST */
+ ), datestring);
+ return (0);
}