diff options
author | Jim Meyering <jim@meyering.net> | 2004-11-28 22:42:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-11-28 22:42:08 +0000 |
commit | 98be5b66851c1147e78e20fb2ad05da448d21792 (patch) | |
tree | 2c3eada4bc5adb6e7d20799308f8c9871cc92ad0 /lib | |
parent | 26b53ffffe8a1e5443e632ae5472e8e2cc92ad80 (diff) | |
download | coreutils-98be5b66851c1147e78e20fb2ad05da448d21792.tar.xz |
(rpl_openat): Also accept optional mode parameter.
Adjust prototype
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openat.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/openat.h b/lib/openat.h index 8354b3ada..5842105fd 100644 --- a/lib/openat.h +++ b/lib/openat.h @@ -12,10 +12,6 @@ # define __OPENAT_XCONCAT(x, y) __OPENAT_CONCAT (x, y) # define __OPENAT_ID(y) __OPENAT_XCONCAT (__OPENAT_PREFIX, y) # define openat __OPENAT_ID (openat) -/* FIXME: use proper prototype */ -#if 0 - int openat (int fd, char const *filename, int flags, /* mode_t mode */ ...); -#endif -int openat (int fd, char const *filename, int flags); +int openat (int fd, char const *filename, int flags, /* mode_t mode */ ...); # endif #endif |