From 81207825c50fa9a4ec1475024543f830dee247fd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 19 Jan 2019 16:50:23 -0600 Subject: Fix various warnings building on FreeBSD. --- toys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys.h') 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; -- cgit v1.2.3