]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hack/hack.version.c
Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam...
[bsdgames-darwin.git] / hack / hack.version.c
index 538a0a7e0fc54fa87ef1aa248a355814d8f50cef..33a1cd9f7dca96c41b44fa3e85c18d7f5915878c 100644 (file)
@@ -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);
 }