1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2004-07-09  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
	to the front for gcc 3.5+.
	* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
	* include/fcntl.h: Don't declare __fcntl_nocancel here if
	NO_CANCELLATION is defined.
This commit is contained in:
Ulrich Drepper
2004-07-09 17:20:48 +00:00
parent 1b8cbd0847
commit d199bfb222
5 changed files with 17 additions and 6 deletions

View File

@ -18,17 +18,17 @@
#include <assert.h>
#include <errno.h>
#include <sysdep-cancel.h> /* Must come before <fcntl.h>. */
#include <fcntl.h>
#include <stdarg.h>
#include <sysdep-cancel.h>
#include <sys/syscall.h>
int
#ifdef NO_CANCELLATION
static inline __attribute ((always_inline))
#endif
int
__fcntl_nocancel (int fd, int cmd, ...)
{
va_list ap;