summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-signal.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-01-23 08:55:24 +0100
committerDarren Tucker <dtucker@dtucker.net>2020-01-23 08:55:24 +0100
commit84226b447d45fe4542613de68c2ca59a890d7c01 (patch)
tree6f64b6646b874a98705c0aeb50c6863daa92ca1d /openbsd-compat/bsd-signal.h
parentupstream: new sentence, new line; (diff)
downloadopenssh-84226b447d45fe4542613de68c2ca59a890d7c01.tar.xz
openssh-84226b447d45fe4542613de68c2ca59a890d7c01.zip
Remove mysignal wrapper.
We switched the main code to use sigaction(), so the wrapper is no longer used.
Diffstat (limited to 'openbsd-compat/bsd-signal.h')
-rw-r--r--openbsd-compat/bsd-signal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsd-compat/bsd-signal.h b/openbsd-compat/bsd-signal.h
index 4cb8cb7a0..dafb4b199 100644
--- a/openbsd-compat/bsd-signal.h
+++ b/openbsd-compat/bsd-signal.h
@@ -27,11 +27,6 @@
# endif
#endif
-/* wrapper for signal interface */
-typedef void (*mysig_t)(int);
-mysig_t mysignal(int sig, mysig_t act);
-#define signal(a,b) mysignal(a,b)
-
#if !defined(HAVE_STRSIGNAL)
char *strsignal(int);
#endif