summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-08-05 13:32:25 +0000
committerschwarze <schwarze@openbsd.org>2018-08-05 13:32:25 +0000
commitd5b157b0956a96a9e0778a8d8f0b7f1a45c56020 (patch)
tree51c49825f52c31928e44f181b1b823f574993f2e /games
parentIn RSA_padding_add_PKCS1_OAEP, dbmask needs to be freed on failure. (diff)
downloadwireguard-openbsd-d5b157b0956a96a9e0778a8d8f0b7f1a45c56020.tar.xz
wireguard-openbsd-d5b157b0956a96a9e0778a8d8f0b7f1a45c56020.zip
remove duplicate installation of the SIGINT handler;
from Martin Kopta <martin at kopta dot eu>
Diffstat (limited to 'games')
-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);