allocate.h: Stop needlessly returning a void value in __DO_ALLOCATOR
[smatch.git] / validation / function-pointer-modifier-inheritance.c
blob8afa9171058a1a39cd0914aa8cb0cc1c6040721b
1 struct sk_buff;
2 struct sock;
4 extern int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
5 int getfrag(void *from, char *to, int offset,
6 int len,int odd, struct sk_buff *skb),
7 void *from, int length);
9 int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
10 int (*getfrag)(void *from, char *to, int offset,
11 int len,int odd, struct sk_buff *skb),
12 void *from, int length)
14 return 0;