]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - configure.ac
Fix compilation warnings about functions declared in sys/xattr.h
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 18 May 2017 17:46:49 +0000 (17:46 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Dec 2017 04:02:58 +0000 (23:02 -0500)
commitd7de3f3d13cce3efce3659a4aaf86843b4a3c98e
treee69dc01c37d5630a097318a07531502a8f95afd6
parentfc8f58ed32dca6b5a95d5055a007b680fe056b4c
Fix compilation warnings about functions declared in sys/xattr.h

attr commit v2.4.47-34-g7921157 removes <attr/xattr.h>
and syscall wrappers with the following wording:
"The xattr syscalls are provided by glibc since ages [...]
This removes the need for the <attr/xattr.h> header;
use <sys/xattr.h> instead."

Check for <sys/xattr.h> and include it to fix the following compilation
warnings:

create_inode.c: In function 'set_inode_xattr':
create_inode.c:136:9: warning: implicit declaration of function 'llistxattr' [-Wimplicit-function-declaration]
create_inode.c:172:16: warning: implicit declaration of function 'lgetxattr' [-Wimplicit-function-declaration]

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.ac
lib/config.h.in
misc/create_inode.c