aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-01-19 16:50:23 -0600
committerRob Landley <rob@landley.net>2019-01-19 16:50:23 -0600
commit81207825c50fa9a4ec1475024543f830dee247fd (patch)
treebdb0b7665096d3e5c21ec76733dc0bcc079f5451 /toys.h
parent7bfdff085dca664b3bbda50371f4f67be2fbd5cf (diff)
downloadtoybox-81207825c50fa9a4ec1475024543f830dee247fd.tar.gz
Fix various warnings building on FreeBSD.
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index 4083725a..df37b55e 100644
--- a/toys.h
+++ b/toys.h
@@ -108,7 +108,7 @@ extern struct toy_context {
char wasroot; // dropped setuid
// This is at the end so toy_init() doesn't zero it.
- jmp_buf *rebound; // longjmp here instead of exit when do_rebound set
+ sigjmp_buf *rebound; // longjmp here instead of exit when do_rebound set
struct arg_list *xexit; // atexit() functions for xexit(), set by sigatexit()
void *stacktop; // nested toy_exec() call count, or 0 if vforked
} toys;