summaryrefslogtreecommitdiff
path: root/libc/syscall/setjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/syscall/setjmp.c')
-rw-r--r--libc/syscall/setjmp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/syscall/setjmp.c b/libc/syscall/setjmp.c
index 52c3ff1..58b57ad 100644
--- a/libc/syscall/setjmp.c
+++ b/libc/syscall/setjmp.c
@@ -8,6 +8,9 @@ setjmp(env)
jmp_buf env;
{
#asm
+export __setjmp
+__setjmp:
+
pop cx ! PC
#if __FIRST_ARG_IN_AX__
mov bx,ax
@@ -31,6 +34,9 @@ jmp_buf env;
int rv;
{
#asm
+export __longjmp
+__longjmp:
+
pop cx ! pc
#if __FIRST_ARG_IN_AX__
mov bx,ax ! env->