mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
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:
@@ -9,8 +9,10 @@ extern int __libc_open (const char *file, int oflag, ...);
|
||||
libc_hidden_proto (__libc_open)
|
||||
extern int __libc_creat (const char *file, mode_t mode);
|
||||
extern int __libc_fcntl (int fd, int cmd, ...);
|
||||
#ifndef NO_CANCELLATION
|
||||
extern int __fcntl_nocancel (int fd, int cmd, ...) attribute_hidden;
|
||||
libc_hidden_proto (__libc_fcntl)
|
||||
#endif
|
||||
extern int __open (__const char *__file, int __oflag, ...);
|
||||
libc_hidden_proto (__open)
|
||||
extern int __fcntl (int __fd, int __cmd, ...);
|
||||
|
||||
Reference in New Issue
Block a user