summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-21 06:49:52 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-21 06:49:52 +0000
commit98cbe360d947b59e7a5eda068581f4cfeb4b99b3 (patch)
treecea10cb9c398de637781b09112ca635518cf3944 /stdlib
parent4aebaa6bd906383aca1b7a5e1251b0d1652f9f7c (diff)
downloadglibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.gz
glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.xz
glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.zip
Update.
	* misc/sys/cdefs.h: Define __restrict_arr.
	* include/sys/time.h: Add restrict where required by AGd4.
	* inet/arpa/inet.h: Likewise.
	* io/sys/stat.h: Likewise.
	* io/sys/statvfs.h: Likewise.
	* misc/search.h: Likewise.
	* misc/sys/select.h: Likewise.
	* posix/glob.h: Likewise.
	* posix/regex.h: Likewise.
	* posix/spawn.h: Likewise.
	* posix/unistd.h: Likewise.
	* rt/aio.h: Likewise.
	* signal/signal.h: Likewise.
	* socket/sys/socket.h: Likewise.
	* stdlib/ucontext.h: Likewise.
	* streams/stropts.h: Likewise.
	* string/string.h: Likewise.
	* time/time.h: Likewise.
	* time/sys/time.h: Likewise.

	* posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
	and posix_spawnattr_setscheparam.

	* libio/stdio.h: Make cuserid prototype again available for all
	XPG versions.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/ucontext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/ucontext.h b/stdlib/ucontext.h
index 9e92a61cbf..346a682950 100644
--- a/stdlib/ucontext.h
+++ b/stdlib/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000 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
@@ -36,7 +36,8 @@ 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 (ucontext_t *__oucp, __const ucontext_t *__ucp) __THROW;
+extern int swapcontext (ucontext_t *__restrict __oucp,
+			__const ucontext_t *__restrict __ucp) __THROW;
 
 /* Manipulate user context UCP to continue with calling functions FUNC
    and the ARGC-1 parameters following ARGC when the context is used