summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-11-11 10:29:08 +0100
committerAndreas Schwab <schwab@redhat.com>2011-11-11 11:11:07 +0100
commitedc5984d4d18296d7aa3d8f4ed8f7336a743170e (patch)
tree7d594b20d25452b3b51a4de37e55ca05c20c31a5 /stdlib
parent77cdc054e02069d72dcf54a9ad7d7df3a24bcb01 (diff)
downloadglibc-edc5984d4d18296d7aa3d8f4ed8f7336a743170e.tar.gz
Mark setjmp and ucontext functions as non-leaf
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/ucontext.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/ucontext.h b/stdlib/ucontext.h
index ee6f594f07..498fb5633d 100644
--- a/stdlib/ucontext.h
+++ b/stdlib/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,15 +29,15 @@
__BEGIN_DECLS
/* Get user context and store it in variable pointed to by UCP. */
-extern int getcontext (ucontext_t *__ucp) __THROW;
+extern int getcontext (ucontext_t *__ucp) __THROWNL;
/* Set user context from information of variable pointed to by UCP. */
-extern int setcontext (__const ucontext_t *__ucp) __THROW;
+extern int setcontext (__const ucontext_t *__ucp) __THROWNL;
/* Save current context in context variable pointed to by OUCP and set
context from variable pointed to by UCP. */
extern int swapcontext (ucontext_t *__restrict __oucp,
- __const ucontext_t *__restrict __ucp) __THROW;
+ __const ucontext_t *__restrict __ucp) __THROWNL;
/* Manipulate user context UCP to continue with calling functions FUNC
and the ARGC-1 parameters following ARGC when the context is used
@@ -46,7 +46,7 @@ extern int swapcontext (ucontext_t *__restrict __oucp,
We cannot say anything about the parameters FUNC takes; `void'
is as good as any other choice. */
extern void makecontext (ucontext_t *__ucp, void (*__func) (void),
- int __argc, ...) __THROW;
+ int __argc, ...) __THROWNL;
__END_DECLS