summaryrefslogtreecommitdiff
path: root/sysutils/scanmem/files/patch-interrupt.h
blob: 0a7228050288e29d646793aa9a5c04c66a64fa9a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- interrupt.h.orig	2009-12-14 15:15:26 UTC
+++ interrupt.h
@@ -10,7 +10,7 @@
 /* small header file to manage interrupted commands */
 
 static sigjmp_buf jmpbuf;       /* used when aborting a command due to interrupt */
-static sighandler_t oldsig;     /* reinstalled before longjmp */
+static sig_t oldsig;     /* reinstalled before longjmp */
 static unsigned intused;
 
 /* signal handler to handle interrupt during a commands */