[INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h
To help in reducing the number of include dependencies, several files were touched as they were getting needed headers indirectly for stuff they use. Thanks also to Alan Menegotto for pointing out that net/dccp/proto.c had linux/dccp.h include twice. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
25995ff577
commit
14c850212e
@ -22,9 +22,8 @@
|
||||
#ifndef _UDP_H
|
||||
#define _UDP_H
|
||||
|
||||
#include <linux/udp.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/list.h>
|
||||
#include <net/inet_sock.h>
|
||||
#include <net/sock.h>
|
||||
#include <net/snmp.h>
|
||||
#include <linux/seq_file.h>
|
||||
@ -62,6 +61,7 @@ static inline int udp_lport_inuse(u16 num)
|
||||
|
||||
extern struct proto udp_prot;
|
||||
|
||||
struct sk_buff;
|
||||
|
||||
extern void udp_err(struct sk_buff *, u32);
|
||||
|
||||
|
Reference in New Issue
Block a user