summaryrefslogtreecommitdiffstats
path: root/worm/worm.c
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-04-22 07:53:41 +0000
committercgd <cgd@NetBSD.org>1995-04-22 07:53:41 +0000
commiteca13b621f4cb1080cd5a74cc3e8bb5225935ef0 (patch)
treefa42893b3ed3b0543b02a67b182ccdd516ad6fd9 /worm/worm.c
parentb18215767d780fd02e12942b118126ab71c2471a (diff)
downloadbsdgames-darwin-eca13b621f4cb1080cd5a74cc3e8bb5225935ef0.tar.gz
bsdgames-darwin-eca13b621f4cb1080cd5a74cc3e8bb5225935ef0.tar.zst
bsdgames-darwin-eca13b621f4cb1080cd5a74cc3e8bb5225935ef0.zip
clean up import, fix up Ids
Diffstat (limited to 'worm/worm.c')
-rw-r--r--worm/worm.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/worm/worm.c b/worm/worm.c
index f0ea1c95..cbf4caae 100644
--- a/worm/worm.c
+++ b/worm/worm.c
@@ -1,6 +1,8 @@
+/* $NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $ */
+
/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1980, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -32,14 +34,17 @@
*/
#ifndef lint
-char copyright[] =
-"@(#) Copyright (c) 1980 Regents of the University of California.\n\
- All rights reserved.\n";
+static char copyright[] =
+"@(#) Copyright (c) 1980, 1993\n\
+ The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-/*static char sccsid[] = "from: @(#)worm.c 5.8 (Berkeley) 2/28/91";*/
-static char rcsid[] = "$Id: worm.c,v 1.4 1993/12/03 10:12:57 mycroft Exp $";
+#if 0
+static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
+#else
+static char rcsid[] = "$NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $";
+#endif
#endif /* not lint */
/*
@@ -50,6 +55,7 @@ static char rcsid[] = "$Id: worm.c,v 1.4 1993/12/03 10:12:57 mycroft Exp $";
#include <ctype.h>
#include <curses.h>
#include <signal.h>
+#include <termios.h>
#define newlink() (struct body *) malloc(sizeof (struct body));
#define HEAD '@'