- (stevesk) add mysignal() wrapper and use it for the protocol 2
   SIGCHLD handler.
diff --git a/misc.h b/misc.h
index 1637042..1dd0389 100644
--- a/misc.h
+++ b/misc.h
@@ -19,3 +19,7 @@
 
 /* set filedescriptor to non-blocking */
 void	set_nonblock(int fd);
+
+/* wrapper for signal interface */
+typedef void (*mysig_t)(int);
+mysig_t mysignal(int sig, mysig_t act);