Commit c6d24c32 authored by Andy Shevchenko's avatar Andy Shevchenko

lib/string_helpers: Add missed declaration of struct task_struct

Starting from the commit 0d044328 the new function has been
introduced which takes struct task_struct as a parameter. Though,
compiler doesn't know where to get information about it at this stage.

Add missed declaration of struct task_struct to satisfy compiler.

Fixes: 0d044328 ("string_helpers: add kstrdup_quotable_cmdline")
Cc: Kees Cook <keescook@chromium.org>
Cc: James Morris <james.l.morris@oracle.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
parent 74783c99
......@@ -5,6 +5,7 @@
#include <linux/types.h>
struct file;
struct task_struct;
/* Descriptions of the types of units to
* print in */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment