2005-01-07  Ulrich Drepper  <drepper@redhat.com>

	* libio/stdio.h: Remove __wur from rename and remove.
	* posix/unistd.h: Remove __wur from dup2.
This commit is contained in:
Ulrich Drepper 2005-01-07 19:30:51 +00:00
parent 3ded70368b
commit e2070ca2b4
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-01-07 Ulrich Drepper <drepper@redhat.com>
* libio/stdio.h: Remove __wur from rename and remove.
* posix/unistd.h: Remove __wur from dup2.
2005-01-03 Andreas Jaeger <aj@suse.de>
* elf/Makefile (tests): Revert patch from 2005-01-03.

View File

@ -149,9 +149,9 @@ extern struct _IO_FILE *stderr; /* Standard error output stream. */
__BEGIN_NAMESPACE_STD
/* Remove file FILENAME. */
extern int remove (__const char *__filename) __THROW __wur;
extern int remove (__const char *__filename) __THROW;
/* Rename file OLD to NEW. */
extern int rename (__const char *__old, __const char *__new) __THROW __wur;
extern int rename (__const char *__old, __const char *__new) __THROW;
__END_NAMESPACE_STD

View File

@ -468,7 +468,7 @@ extern char *getwd (char *__buf)
extern int dup (int __fd) __THROW __wur;
/* Duplicate FD to FD2, closing FD2 and making it open on the same file. */
extern int dup2 (int __fd, int __fd2) __THROW __wur;
extern int dup2 (int __fd, int __fd2) __THROW;
/* NULL-terminated array of "NAME=VALUE" environment variables. */
extern char **__environ;