修订版 | 42ff2bba8eb24626919672f0bc129289cdca6fee (tree) |
---|---|
时间 | 2018-02-12 21:27:17 |
作者 | Alexey Neyman <stilor@att....> |
Commiter | Waldemar Brodkorb |
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>
@@ -242,15 +242,6 @@ struct f_owner_ex | ||
242 | 242 | file to zeros. */ |
243 | 243 | |
244 | 244 | |
245 | -/* File handle structure. */ | |
246 | -struct file_handle | |
247 | -{ | |
248 | - unsigned int handle_bytes; | |
249 | - int handle_type; | |
250 | - /* File identifier. */ | |
251 | - unsigned char f_handle[0]; | |
252 | -}; | |
253 | - | |
254 | 245 | /* Maximum handle size (for now). */ |
255 | 246 | # define MAX_HANDLE_SZ 128 |
256 | 247 | #endif |
@@ -315,18 +306,6 @@ extern int fallocate64 (int __fd, int __mode, __off64_t __offset, | ||
315 | 306 | # endif |
316 | 307 | |
317 | 308 | |
318 | -/* Map file name to file handle. */ | |
319 | -extern int name_to_handle_at (int __dfd, const char *__name, | |
320 | - struct file_handle *__handle, int *__mnt_id, | |
321 | - int __flags) __THROW; | |
322 | - | |
323 | -/* Open file using the file handle. | |
324 | - | |
325 | - This function is a possible cancellation point and therefore not | |
326 | - marked with __THROW. */ | |
327 | -extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle, | |
328 | - int __flags); | |
329 | - | |
330 | 309 | #endif /* use GNU */ |
331 | 310 | |
332 | 311 | __END_DECLS |