opnsense-ports/sysutils/scanmem/files/patch-interrupt.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
435 B
C

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