From: Eric Sandeen Date: Wed, 17 Oct 2018 18:25:10 +0000 (-0500) Subject: libxfs: silence sparse static function warnings in util.c X-Git-Tag: v4.19.0-rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ed3b9bdfa46051d1d6d1ade0157ccd0979d561f;p=thirdparty%2Fxfsprogs-dev.git libxfs: silence sparse static function warnings in util.c 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 Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/libxfs/util.c b/libxfs/util.c index ffd265094..bd4140430 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"