diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
commit | a784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch) | |
tree | 5ebaa084119dcffe41671a62e2e799b172c57d24 /include/fcntl.h | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.xz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'include/fcntl.h')
-rw-r--r-- | include/fcntl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index d5e5ddff02..7afbd1c74c 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -2,7 +2,7 @@ #include <io/fcntl.h> /* Now define the internal interfaces. */ -extern int __open64 (__const char *__file, int __oflag, ...); +extern int __open64 (const char *__file, int __oflag, ...); libc_hidden_proto (__open64) extern int __libc_open64 (const char *file, int oflag, ...); extern int __libc_open (const char *file, int oflag, ...); @@ -13,21 +13,21 @@ extern int __libc_fcntl (int fd, int cmd, ...); extern int __fcntl_nocancel (int fd, int cmd, ...) attribute_hidden; libc_hidden_proto (__libc_fcntl) #endif -extern int __open (__const char *__file, int __oflag, ...); +extern int __open (const char *__file, int __oflag, ...); libc_hidden_proto (__open) extern int __fcntl (int __fd, int __cmd, ...); libc_hidden_proto (__fcntl) -extern int __openat (int __fd, __const char *__file, int __oflag, ...) +extern int __openat (int __fd, const char *__file, int __oflag, ...) __nonnull ((2)); libc_hidden_proto (__openat) -extern int __openat64 (int __fd, __const char *__file, int __oflag, ...) +extern int __openat64 (int __fd, const char *__file, int __oflag, ...) __nonnull ((2)); libc_hidden_proto (__openat64) -extern int __open_2 (__const char *__path, int __oflag); -extern int __open64_2 (__const char *__path, int __oflag); -extern int __openat_2 (int __fd, __const char *__path, int __oflag); -extern int __openat64_2 (int __fd, __const char *__path, int __oflag); +extern int __open_2 (const char *__path, int __oflag); +extern int __open64_2 (const char *__path, int __oflag); +extern int __openat_2 (int __fd, const char *__path, int __oflag); +extern int __openat64_2 (int __fd, const char *__path, int __oflag); /* Helper functions for the various *at functions. For Linux. */ |