Message ID | 1539201682-22198-10-git-send-email-sandeen@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | xfsprogs: finer-grained sparse fixes | expand |
On Wed, Oct 10, 2018 at 03:01:13PM -0500, Eric Sandeen wrote: > libxfs.h exports functions defined in util.c, so include that file to > silence sparse warnings about potential static functions. > > Signed-off-by: Eric Sandeen <sandeen@redhat.com> Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/libxfs/util.c b/libxfs/util.c index ffd2650..bd41404 100644 --- a/libxfs/util.c +++ b/libxfs/util.c @@ -5,6 +5,7 @@ */ #include "libxfs_priv.h" +#include "libxfs.h" #include "libxfs_io.h" #include "init.h" #include "xfs_fs.h"
libxfs.h exports functions defined in util.c, so include that file to silence sparse warnings about potential static functions. Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- libxfs/util.c | 1 + 1 file changed, 1 insertion(+)