summaryrefslogtreecommitdiff
path: root/games/bs
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-08-05 13:32:26 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-08-05 13:32:26 +0000
commit28043357550edea7eb75d72037edd607ab284836 (patch)
treef0ae6bd58410f1ec4cb2478abead94c0de0937a4 /games/bs
parent519384f7206219e8df94702b05278a3da8da059e (diff)
remove duplicate installation of the SIGINT handler;
from Martin Kopta <martin at kopta dot eu>
Diffstat (limited to 'games/bs')
-rw-r--r--games/bs/bs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/bs/bs.c b/games/bs/bs.c
index 8d0b51b1c4c..68bcdc3a452 100644
--- a/games/bs/bs.c
+++ b/games/bs/bs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bs.c,v 1.39 2016/03/07 12:07:55 mestre Exp $ */
+/* $OpenBSD: bs.c,v 1.40 2018/08/05 13:32:25 schwarze Exp $ */
/*
* Copyright (c) 1986, Bruce Holloway
* All rights reserved.
@@ -255,7 +255,6 @@ intro(void)
char *tmpname;
(void) signal(SIGINT,uninitgame);
- (void) signal(SIGINT,uninitgame);
if(signal(SIGQUIT,SIG_IGN) != SIG_IGN)
(void)signal(SIGQUIT,uninitgame);