states: add another read_only check
[smatch.git] / validation / function-pointer-modifier-inheritance.c
blob3428715a0273a86c75a76a4dd29d4002b0b0704e
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;
17 * check-name: Function pointer modifier inheritance