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/sys/stat.h | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.bz2 |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'include/sys/stat.h')
-rw-r--r-- | include/sys/stat.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h index cca0500..a6cf60f 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -2,14 +2,14 @@ #include <io/sys/stat.h> /* Now define the internal interfaces. */ -extern int __stat (__const char *__file, struct stat *__buf); +extern int __stat (const char *__file, struct stat *__buf); extern int __fstat (int __fd, struct stat *__buf); -extern int __lstat (__const char *__file, struct stat *__buf); -extern int __chmod (__const char *__file, __mode_t __mode); +extern int __lstat (const char *__file, struct stat *__buf); +extern int __chmod (const char *__file, __mode_t __mode); extern int __fchmod (int __fd, __mode_t __mode); extern __mode_t __umask (__mode_t __mask); -extern int __mkdir (__const char *__path, __mode_t __mode); -extern int __mknod (__const char *__path, +extern int __mkdir (const char *__path, __mode_t __mode); +extern int __mknod (const char *__path, __mode_t __mode, __dev_t __dev); #if !defined NOT_IN_libc || defined IS_IN_rtld hidden_proto (__fxstat) @@ -19,12 +19,12 @@ hidden_proto (__lxstat64) hidden_proto (__xstat) hidden_proto (__xstat64) #endif -extern __inline__ int __stat (__const char *__path, struct stat *__statbuf) +extern __inline__ int __stat (const char *__path, struct stat *__statbuf) { return __xstat (_STAT_VER, __path, __statbuf); } libc_hidden_proto (__xmknod) -extern __inline__ int __mknod (__const char *__path, __mode_t __mode, +extern __inline__ int __mknod (const char *__path, __mode_t __mode, __dev_t __dev) { return __xmknod (_MKNOD_VER, __path, __mode, &__dev); |