summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-02-11 11:59:22 -0800
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-12 12:27:17 +0000
commit42ff2bba8eb24626919672f0bc129289cdca6fee (patch)
treeda98eb4372a934a125d150f4b0dfa8fd2206d439
parent0bbc6a4bf54197ec5dab874750d125cbd5b9e877 (diff)
uClibc-ng does not implement name_to_handle_at
... so don't declare it. Otherwise, eudev finds it declared and tries to link with it - and fails. Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--libc/sysdeps/linux/aarch64/bits/fcntl.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/libc/sysdeps/linux/aarch64/bits/fcntl.h b/libc/sysdeps/linux/aarch64/bits/fcntl.h
index 042ea947f..80657c008 100644
--- a/libc/sysdeps/linux/aarch64/bits/fcntl.h
+++ b/libc/sysdeps/linux/aarch64/bits/fcntl.h
@@ -242,15 +242,6 @@ struct f_owner_ex
file to zeros. */
-/* File handle structure. */
-struct file_handle
-{
- unsigned int handle_bytes;
- int handle_type;
- /* File identifier. */
- unsigned char f_handle[0];
-};
-
/* Maximum handle size (for now). */
# define MAX_HANDLE_SZ 128
#endif
@@ -315,18 +306,6 @@ extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
# endif
-/* Map file name to file handle. */
-extern int name_to_handle_at (int __dfd, const char *__name,
- struct file_handle *__handle, int *__mnt_id,
- int __flags) __THROW;
-
-/* Open file using the file handle.
-
- This function is a possible cancellation point and therefore not
- marked with __THROW. */
-extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle,
- int __flags);
-
#endif /* use GNU */
__END_DECLS