signal handling, add prototype for pthreadinit
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index 9f70b0e..fb7e4c3 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -4,6 +4,12 @@
 typedef struct Proc Proc;
 typedef struct _Procrendez _Procrendez;
 
+typedef struct Jmp Jmp;
+struct Jmp
+{
+	p9jmp_buf b;
+};
+
 enum
 {
 	STACK = 8192
@@ -54,6 +60,7 @@
 	_Procrendez	runrend;
 	Context	schedcontext;
 	void		*udata;
+	Jmp		sigjmp;
 };
 
 extern Proc *xxx;
@@ -67,4 +74,4 @@
 extern void _threadsetproc(Proc*);
 extern int _threadlock(Lock*, int, ulong);
 extern void _threadunlock(Lock*, ulong);
-
+extern void _pthreadinit(void);