[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b0ee47358ba0f4ee1c01e25d78120e0b6816d20c.1393313946.git.rashika.kheria@gmail.com>
Date: Tue, 25 Feb 2014 13:21:58 +0530
From: Rashika Kheria <rashika.kheria@...il.com>
To: linux-kernel@...r.kernel.org
Cc: josh@...htriplett.org
Subject: [PATCH 7/8] lib: Include appropriate header file in
lib/decompress_unxz.c
Include appropriate header file include/linux/decompress/unxz.h in
lib/decompress_unxz.c because it has prototype declaration of function
defined in lib/decompress_unxz.c.
This eliminates the following warning in lib/decompress_unxz.c:
lib/decompress_unxz.c:251:17: warning: no previous prototype for ‘unxz’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@...il.com>
Reviewed-by: Josh Triplett <josh@...htriplett.org>
---
lib/decompress_unxz.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/decompress_unxz.c b/lib/decompress_unxz.c
index 9f34eb5..db22fcc 100644
--- a/lib/decompress_unxz.c
+++ b/lib/decompress_unxz.c
@@ -237,6 +237,8 @@ void *memmove(void *dest, const void *src, size_t size)
#endif /* XZ_PREBOOT */
+#include <linux/decompress/unxz.h>
+
/* Size of the input and output buffers in multi-call mode */
#define XZ_IOBUF_SIZE 4096
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists