Re: [PATCH net-next 3/9] udp: make local function static

2017-05-21 Thread David Miller
From: Stephen Hemminger Date: Fri, 19 May 2017 09:55:50 -0700 > udp_queue_rcv_skb was global but only used in one file. > Identified by this warning: > net/ipv4/udp.c:1775:5: warning: no previous prototype for ‘udp_queue_rcv_skb’ > [-Wmissing-prototypes] > int udp_queue_rcv_skb(struct sock *sk,

[PATCH net-next 3/9] udp: make local function static

2017-05-19 Thread Stephen Hemminger
udp_queue_rcv_skb was global but only used in one file. Identified by this warning: net/ipv4/udp.c:1775:5: warning: no previous prototype for ‘udp_queue_rcv_skb’ [-Wmissing-prototypes] int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) Signed-off-by: Stephen Hemminger --- net/ipv4/udp