about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h4
-rw-r--r--include/unistd.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 8714d6aa14..fae0beb064 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -3,4 +3,8 @@
 
 /* Now define the internal interfaces.  */
 extern int __open64 (__const char *__file, int __oflag, ...);
+extern int __libc_open64 (const char *file, int oflag, ...);
+extern int __libc_open (const char *file, int oflag, ...);
+extern int __libc_fcntl (int fd, int cmd, ...);
+
 #endif
diff --git a/include/unistd.h b/include/unistd.h
index d8fc6cc651..24e035bb90 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -4,8 +4,6 @@
 /* Now define the internal interfaces.  */
 extern int __access (__const char *__name, int __type);
 extern int __euidaccess (__const char *__name, int __type);
-extern int __libc_open64 (const char *file, int oflag, ...);
-extern int __libc_open (const char *file, int oflag, ...);
 extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence);
 extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
 extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes,