summaryrefslogtreecommitdiffstats
path: root/hack/hack.main.c
diff options
context:
space:
mode:
authorroy <roy@NetBSD.org>2010-02-03 15:34:37 +0000
committerroy <roy@NetBSD.org>2010-02-03 15:34:37 +0000
commit164f814056645ef1910d5bf4c9147929e07c3a7c (patch)
tree69388c3d125835723e2b47ab72df148e22abe10b /hack/hack.main.c
parentbd6c81dd776fddd0e7853f2cfb907dc91723f8c3 (diff)
downloadbsdgames-darwin-164f814056645ef1910d5bf4c9147929e07c3a7c.tar.gz
bsdgames-darwin-164f814056645ef1910d5bf4c9147929e07c3a7c.tar.zst
bsdgames-darwin-164f814056645ef1910d5bf4c9147929e07c3a7c.zip
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
Diffstat (limited to 'hack/hack.main.c')
-rw-r--r--hack/hack.main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.main.c b/hack/hack.main.c
index 623752c7..cfa379b9 100644
--- a/hack/hack.main.c
+++ b/hack/hack.main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.main.c,v 1.14 2009/08/12 07:28:40 dholland Exp $ */
+/* $NetBSD: hack.main.c,v 1.15 2010/02/03 15:34:38 roy Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.main.c,v 1.14 2009/08/12 07:28:40 dholland Exp $");
+__RCSID("$NetBSD: hack.main.c,v 1.15 2010/02/03 15:34:38 roy Exp $");
#endif /* not lint */
#include <signal.h>
@@ -184,7 +184,7 @@ main(int argc, char *argv[])
cls();
u.uhp = 1; /* prevent RIP on early quits */
u.ux = FAR; /* prevent nscr() */
- (void) signal(SIGHUP, hangup);
+ (void) signal(SIGHUP, hang_up);
/*
* Find the creation date of this game,