Загрузка данных


| In file included from pseudo_wrappers.c:292:
| pseudo_wrapfuncs.c: In function ‘open_tree’:
| pseudo_wrapfuncs.c:11929:15: warning: variable ‘path_int’ set but not used [-Wunused-but-set-variable]
| 11929 |         char *path_int;
|       |               ^~~~~~~~
| pseudo_wrapfuncs.c: At top level:
| pseudo_wrapfuncs.c:12012:91: warning: ‘struct mount_attr’ declared inside parameter list will not be visible outside of this definition or declaration
| 12012 | static int (*real_open_tree_attr)(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) = NULL;
|       |                                                                                           ^~~~~~~~~~
| pseudo_wrapfuncs.c:12012:14: error: conflicting types for ‘real_open_tree_attr’; have ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, size_t)’ {aka ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, long unsigned int)’}
| 12012 | static int (*real_open_tree_attr)(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) = NULL;
|       |              ^~~~~~~~~~~~~~~~~~~
| pseudo_wrapfuncs.h:535:14: note: previous declaration of ‘real_open_tree_attr’ with type ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, size_t)’ {aka ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, long unsigned int)’}
|   535 | static int (*real_open_tree_attr)(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size);
|       |              ^~~~~~~~~~~~~~~~~~~
| pseudo_wrapfuncs.c:12017:72: warning: ‘struct mount_attr’ declared inside parameter list will not be visible outside of this definition or declaration
| 12017 | open_tree_attr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) {
|       |                                                                        ^~~~~~~~~~
| pseudo_wrapfuncs.c: In function ‘open_tree_attr’:
| pseudo_wrapfuncs.c:12036:65: warning: passing argument 4 of ‘real_open_tree_attr’ from incompatible pointer type [-Wincompatible-pointer-types]
| 12036 |                 rc = (*real_open_tree_attr)(dirfd, path, flags, attr, size);
|       |                                                                 ^~~~
|       |                                                                 |
|       |                                                                 struct mount_attr *
| pseudo_wrapfuncs.c:12036:65: note: expected ‘struct mount_attr *’ but argument is of type ‘struct mount_attr *’
| pseudo_wrapfuncs.c:12057:65: warning: passing argument 4 of ‘real_open_tree_attr’ from incompatible pointer type [-Wincompatible-pointer-types]
| 12057 |                 rc = (*real_open_tree_attr)(dirfd, path, flags, attr, size);
|       |                                                                 ^~~~
|       |                                                                 |
|       |                                                                 struct mount_attr *
| pseudo_wrapfuncs.c:12057:65: note: expected ‘struct mount_attr *’ but argument is of type ‘struct mount_attr *’
| pseudo_wrapfuncs.c:12065:73: warning: passing argument 4 of ‘real_open_tree_attr’ from incompatible pointer type [-Wincompatible-pointer-types]
| 12065 |                         rc = (*real_open_tree_attr)(dirfd, path, flags, attr, size);
|       |                                                                         ^~~~
|       |                                                                         |
|       |                                                                         struct mount_attr *
| pseudo_wrapfuncs.c:12065:73: note: expected ‘struct mount_attr *’ but argument is of type ‘struct mount_attr *’
| pseudo_wrapfuncs.c:12069:70: warning: passing argument 4 of ‘wrap_open_tree_attr’ from incompatible pointer type [-Wincompatible-pointer-types]
| 12069 |                         rc = wrap_open_tree_attr(dirfd, path, flags, attr, size);
|       |                                                                      ^~~~
|       |                                                                      |
|       |                                                                      struct mount_attr *
| pseudo_wrapfuncs.h:534:100: note: expected ‘struct mount_attr *’ but argument is of type ‘struct mount_attr *’
|   534 | static int wrap_open_tree_attr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size);
|       |                                                                                 ~~~~~~~~~~~~~~~~~~~^~~~
| pseudo_wrapfuncs.c:12021:15: warning: variable ‘path_int’ set but not used [-Wunused-but-set-variable]
| 12021 |         char *path_int;
|       |               ^~~~~~~~
| pseudo_wrapfuncs.c: At top level:
| pseudo_wrapfuncs.c:12092:77: warning: ‘struct mount_attr’ declared inside parameter list will not be visible outside of this definition or declaration
| 12092 | wrap_open_tree_attr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) {
|       |                                                                             ^~~~~~~~~~
| pseudo_wrapfuncs.c:12092:1: error: conflicting types for ‘wrap_open_tree_attr’; have ‘int(int,  const char *, unsigned int,  struct mount_attr *, size_t)’ {aka ‘int(int,  const char *, unsigned int,  struct mount_attr *, long unsigned int)’}
| 12092 | wrap_open_tree_attr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) {
|       | ^~~~~~~~~~~~~~~~~~~
| pseudo_wrapfuncs.h:534:12: note: previous declaration of ‘wrap_open_tree_attr’ with type ‘int(int,  const char *, unsigned int,  struct mount_attr *, size_t)’ {aka ‘int(int,  const char *, unsigned int,  struct mount_attr *, long unsigned int)’}
|   534 | static int wrap_open_tree_attr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size);
|       |            ^~~~~~~~~~~~~~~~~~~
| In file included from pseudo_wrapfuncs.c:12097:
| ports/linux/guts/open_tree_attr.c: In function ‘wrap_open_tree_attr’:
| ports/linux/guts/open_tree_attr.c:28:62: warning: passing argument 4 of ‘real_open_tree_attr’ from incompatible pointer type [-Wincompatible-pointer-types]
|    28 |                 rc = real_open_tree_attr(dirfd, path, flags, attr, size);
|       |                                                              ^~~~
|       |                                                              |
|       |                                                              struct mount_attr *
| ports/linux/guts/open_tree_attr.c:28:62: note: expected ‘struct mount_attr *’ but argument is of type ‘struct mount_attr *’
| pseudo_wrapfuncs.c: In function ‘openat2’:
| pseudo_wrapfuncs.c:12213:15: warning: variable ‘path_int’ set but not used [-Wunused-but-set-variable]
| 12213 |         char *path_int;
|       |               ^~~~~~~~
| pseudo_wrapfuncs.h: At top level:
| pseudo_wrapfuncs.h:534:12: warning: ‘wrap_open_tree_attr’ used but never defined
|   534 | static int wrap_open_tree_attr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size);
|       |            ^~~~~~~~~~~~~~~~~~~