Mark function as static in lib/decompress_unlzo.c because it is not used outside this file.
This eliminates the following warning in lib/decompress_unlzo.c: lib/decompress_unlzo.c:54:24: warning: no previous prototype for ‘parse_header’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.khe...@gmail.com> Reviewed-by: Josh Triplett <j...@joshtriplett.org> --- lib/decompress_unlzo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c index 960183d..7ae2c04 100644 --- a/lib/decompress_unlzo.c +++ b/lib/decompress_unlzo.c @@ -51,7 +51,7 @@ static const unsigned char lzop_magic[] = { #define HEADER_SIZE_MIN (9 + 7 + 4 + 8 + 1 + 4) #define HEADER_SIZE_MAX (9 + 7 + 1 + 8 + 8 + 4 + 1 + 255 + 4) -STATIC inline int INIT parse_header(u8 *input, int *skip, int in_len) +static inline int INIT parse_header(u8 *input, int *skip, int in_len) { int l; u8 *parse = input; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/