Messages in this thread Patch in this message | | | From | Rashika Kheria <> | Subject | [PATCH v2 05/13] net: Add prototype declaration to header file include/linux/filter.h | Date | Sun, 9 Feb 2014 22:18:10 +0530 |
| |
Add prototype declaration to header file include/linux/filter.h because it is used by more than one file.
This eliminates the following warning in core/filter.c: net/core/filter.c:48:7: warning: no previous prototype for ‘bpf_internal_load_pointer_neg_helper’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> ---
Changes since v1: Incorrect Fix
include/linux/filter.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/filter.h b/include/linux/filter.h index e568c8e..0d21259 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -53,6 +53,8 @@ extern int sk_chk_filter(struct sock_filter *filter, unsigned int flen); extern int sk_get_filter(struct sock *sk, struct sock_filter __user *filter, unsigned len); extern void sk_decode_filter(struct sock_filter *filt, struct sock_filter *to); +void *bpf_internal_load_pointer_neg_helper(const struct sk_buff *skb, int k, unsigned int size); + #ifdef CONFIG_BPF_JIT #include <stdarg.h> #include <linux/linkage.h> -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |