summaryrefslogtreecommitdiff
path: root/lib/openat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/openat.h')
-rw-r--r--lib/openat.h6
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