]> andersk Git - openssh.git/blobdiff - openbsd-compat/bsd-misc.h
- (bal) redo how we handle 'mysignal()'. Move it to
[openssh.git] / openbsd-compat / bsd-misc.h
index edb84fc3b5db161541d209fcfaef44c780694d3f..f0d0db16ce52f2dcf33ee4c4bdab2bbc91e47f3a 100644 (file)
@@ -97,4 +97,10 @@ pid_t tcgetpgrp(int);
 int tcsendbreak(int, int);
 #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)
+
 #endif /* _BSD_MISC_H */
This page took 0.053813 seconds and 4 git commands to generate.