1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-21 20:50:31 -04:00
ports/sysutils/scanmem/files/patch-interrupt.h

11 lines
444 B
C

--- 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 */