diff options
Diffstat (limited to 'usr/src/lib/libc/amd64/gen/siglongjmp.c')
| -rw-r--r-- | usr/src/lib/libc/amd64/gen/siglongjmp.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/usr/src/lib/libc/amd64/gen/siglongjmp.c b/usr/src/lib/libc/amd64/gen/siglongjmp.c index 4bc4c579a4..07a89b485f 100644 --- a/usr/src/lib/libc/amd64/gen/siglongjmp.c +++ b/usr/src/lib/libc/amd64/gen/siglongjmp.c @@ -20,24 +20,22 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" -#pragma weak siglongjmp = _siglongjmp +#pragma weak _siglongjmp = siglongjmp -#include "synonyms.h" +#include "lint.h" #include <sys/types.h> #include <sys/ucontext.h> #include <setjmp.h> #include <ucontext.h> -extern int _setcontext(const ucontext_t *); - void -_siglongjmp(sigjmp_buf env, int val) +siglongjmp(sigjmp_buf env, int val) { /* LINTED alignment */ ucontext_t *ucp = (ucontext_t *)env; @@ -47,5 +45,5 @@ _siglongjmp(sigjmp_buf env, int val) else ucp->uc_mcontext.gregs[REG_R0] = 1; - (void) _setcontext(ucp); + (void) setcontext(ucp); } |
