summaryrefslogtreecommitdiff
path: root/openbsd-compat/readpassphrase.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-11 21:25:11 +1300
committerDarren Tucker <dtucker@dtucker.net>2018-02-11 21:24:48 +1100
commitfbfa6f980d7460b3e12b0ce88ed3b6018edf4711 (patch)
tree0c75a95f5f6e2a1e7d2de891f7b7476e41574f56 /openbsd-compat/readpassphrase.c
parent24d2a33bd3bf5170700bfdd8675498aa09a79eab (diff)
Move signal compat code into bsd-signal.{c,h}
Diffstat (limited to 'openbsd-compat/readpassphrase.c')
-rw-r--r--openbsd-compat/readpassphrase.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c
index 24aed6e4..ff8ff3de 100644
--- a/openbsd-compat/readpassphrase.c
+++ b/openbsd-compat/readpassphrase.c
@@ -46,14 +46,6 @@
# define _POSIX_VDISABLE VDISABLE
#endif
-#ifndef _NSIG
-# ifdef NSIG
-# define _NSIG NSIG
-# else
-# define _NSIG 128
-# endif
-#endif
-
static volatile sig_atomic_t signo[_NSIG];
static void handler(int);