summaryrefslogtreecommitdiff
path: root/stdlib/ucontext.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
commitc1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch)
tree7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /stdlib/ucontext.h
parenta4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff)
downloadglibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'stdlib/ucontext.h')
-rw-r--r--stdlib/ucontext.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/ucontext.h b/stdlib/ucontext.h
index d99e95e652..9e92a61cbf 100644
--- a/stdlib/ucontext.h
+++ b/stdlib/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 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,14 +29,14 @@
__BEGIN_DECLS
/* Get user context and store it in variable pointed to by UCP. */
-extern int getcontext __P ((ucontext_t *__ucp));
+extern int getcontext (ucontext_t *__ucp) __THROW;
/* Set user context from information of variable pointed to by UCP. */
-extern int setcontext __P ((__const ucontext_t *__ucp));
+extern int setcontext (__const ucontext_t *__ucp) __THROW;
/* Save current context in context variable pointed to by OUCP and set
context from variable pointed to by UCP. */
-extern int swapcontext __P ((ucontext_t *__oucp, __const ucontext_t *__ucp));
+extern int swapcontext (ucontext_t *__oucp, __const ucontext_t *__ucp) __THROW;
/* Manipulate user context UCP to continue with calling functions FUNC
and the ARGC-1 parameters following ARGC when the context is used
@@ -44,8 +44,8 @@ extern int swapcontext __P ((ucontext_t *__oucp, __const ucontext_t *__ucp));
We cannot say anything about the parameters FUNC takes; `void'
is as good as any other choice. */
-extern void makecontext __P ((ucontext_t *__ucp, void (*__func) (void),
- int __argc, ...));
+extern void makecontext (ucontext_t *__ucp, void (*__func) (void),
+ int __argc, ...) __THROW;
__END_DECLS