aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/Makefile5
-rw-r--r--stdlib/ucontext.h8
2 files changed, 7 insertions, 6 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 2d297e5191..99236c5c78 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 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
@@ -46,7 +46,8 @@ routines := \
system canonicalize \
a64l l64a \
rpmatch strfmon strfmon_l getsubopt xpg_basename fmtmsg \
- strtoimax strtoumax wcstoimax wcstoumax
+ strtoimax strtoumax wcstoimax wcstoumax \
+ getcontext setcontext makecontext swapcontext
distribute := exit.h grouping.h abort-instr.h
tests := tst-strtol tst-strtod testmb testrand testsort testdiv \
diff --git a/stdlib/ucontext.h b/stdlib/ucontext.h
index 2fd65767a6..d99e95e652 100644
--- a/stdlib/ucontext.h
+++ b/stdlib/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 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
@@ -32,11 +32,11 @@ __BEGIN_DECLS
extern int getcontext __P ((ucontext_t *__ucp));
/* Set user context from information of variable pointed to by UCP. */
-extern int setcontext __P ((ucontext_t *__ucp));
+extern int setcontext __P ((__const ucontext_t *__ucp));
/* 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, ucontext_t *__ucp));
+extern int swapcontext __P ((ucontext_t *__oucp, __const ucontext_t *__ucp));
/* Manipulate user context UCP to continue with calling functions FUNC
and the ARGC-1 parameters following ARGC when the context is used
@@ -44,7 +44,7 @@ extern int swapcontext __P ((ucontext_t *__oucp, 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) __P ((void)),
+extern void makecontext __P ((ucontext_t *__ucp, void (*__func) (void),
int __argc, ...));
__END_DECLS