summaryrefslogtreecommitdiff
path: root/sysutils/scanmem/files/patch-interrupt.h
blob: b9ed48a2fc0648428d3d5b6f111b13a21dfa1414 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- interrupt.h.orig	2017-10-13 21:53:16 UTC
+++ interrupt.h
@@ -30,7 +30,7 @@
 /* small header file to manage interrupted commands */
 
 static sigjmp_buf jmpbuf;       /* used when aborting a command due to an interrupt */
-static sighandler_t oldsig;     /* reinstalled before longjmp */
+static sig_t oldsig;     /* reinstalled before longjmp */
 static unsigned intused;
 
 /* signal handler used to handle an interrupt during commands */