summaryrefslogtreecommitdiffstats
path: root/hangman/getguess.c
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-03-23 08:28:00 +0000
committercgd <cgd@NetBSD.org>1995-03-23 08:28:00 +0000
commit94b5353c71e7246077d468afe68d51ce85fc213d (patch)
tree0b6f70b8110f5d6650a6083460424df854c415f8 /hangman/getguess.c
parent1c0b80f0fe7a28cd947ace3e69f5fd2ac8ed47cb (diff)
downloadbsdgames-darwin-94b5353c71e7246077d468afe68d51ce85fc213d.tar.gz
bsdgames-darwin-94b5353c71e7246077d468afe68d51ce85fc213d.tar.zst
bsdgames-darwin-94b5353c71e7246077d468afe68d51ce85fc213d.zip
merge with Lite, new RCS id conventions, etc.
Diffstat (limited to 'hangman/getguess.c')
-rw-r--r--hangman/getguess.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/hangman/getguess.c b/hangman/getguess.c
index d8c5cc02..e7a31acd 100644
--- a/hangman/getguess.c
+++ b/hangman/getguess.c
@@ -1,6 +1,8 @@
+/* $NetBSD: getguess.c,v 1.5 1995/03/23 08:32:43 cgd Exp $ */
+
/*
- * Copyright (c) 1983 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1983, 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,12 +34,15 @@
*/
#ifndef lint
-/*static char sccsid[] = "from: @(#)getguess.c 5.4 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: getguess.c,v 1.4 1993/11/10 15:28:25 cgd Exp $";
+#if 0
+static char sccsid[] = "@(#)getguess.c 8.1 (Berkeley) 5/31/93";
+#else
+static char rcsid[] = "$NetBSD: getguess.c,v 1.5 1995/03/23 08:32:43 cgd Exp $";
+#endif
#endif /* not lint */
-# include <termios.h>
-# include "hangman.h"
+#include <sys/ttydefaults.h>
+#include "hangman.h"
/*
* getguess:
@@ -102,7 +107,8 @@ readch()
else if (ch == CTRL('L')) {
wrefresh(curscr);
mvcur(0, 0, curscr->cury, curscr->curx);
- } else
+ }
+ else
return ch;
}
}