gcc 16.2
../../../work/tar-1.35/src/xattrs.c:142:14: error: conflicting types for
'acl_get_file_at'; have 'struct __acl_ext *(int, const char *, acl_type_t)'
{aka 'struct __acl_ext *(int, const char *, unsigned int)'}
142 | static acl_t acl_get_file_at (int, const char *, acl_type_t);
| ^~~~~~~~~~~~~~~
In file included from ../../../work/tar-1.35/src/xattrs.c:132:
/usr/include/sys/acl.h:120:14: note: previous declaration of 'acl_get_file_at'
with type 'struct __acl_ext *(int, const char *, int, acl_type_t)' {aka
'struct __acl_ext *(int, const char *, int, unsigned int)'}
120 | extern acl_t acl_get_file_at(int dirfd, const char *path_p, int
at_flags, acl_type_t type);
| ^~~~~~~~~~~~~~~
../../../work/tar-1.35/src/xattrs.c:143:12: error: conflicting types for
'acl_set_file_at'; have 'int(int, const char *, acl_type_t, struct __acl_ext
*)' {aka 'int(int, const char *, unsigned int, struct __acl_ext *)'}
143 | static int acl_set_file_at (int, const char *, acl_type_t, acl_t);
| ^~~~~~~~~~~~~~~
/usr/include/sys/acl.h:123:12: note: previous declaration of 'acl_set_file_at'
with type 'int(int, const char *, int, acl_type_t, struct __acl_ext *)' {aka
'int(int, const char *, int, unsigned int, struct __acl_ext *)'}
123 | extern int acl_set_file_at(int dirfd, const char *path_p, int at_flags,
acl_type_t type,
| ^~~~~~~~~~~~~~~
../../../work/tar-1.35/src/xattrs.c:145:12: error: conflicting types for
'acl_delete_def_file_at'; have 'int(int, const char *)'
145 | static int acl_delete_def_file_at (int, char const *);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/acl.h:117:12: note: previous declaration of
'acl_delete_def_file_at' with type 'int(int, const char *, int)'
117 | extern int acl_delete_def_file_at(int dirfd, const char *path_p, int
at_flags);
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1932: xattrs.o] Error 1