aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/net.h')
-rw-r--r--include/linux/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index 1bd76327ee2..c257f716e00 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -176,8 +176,8 @@ struct iovec;
176struct kvec; 176struct kvec;
177 177
178extern int sock_wake_async(struct socket *sk, int how, int band); 178extern int sock_wake_async(struct socket *sk, int how, int band);
179extern int sock_register(struct net_proto_family *fam); 179extern int sock_register(const struct net_proto_family *fam);
180extern int sock_unregister(int family); 180extern void sock_unregister(int family);
181extern int sock_create(int family, int type, int proto, 181extern int sock_create(int family, int type, int proto,
182 struct socket **res); 182 struct socket **res);
183extern int sock_create_kern(int family, int type, int proto, 183extern int sock_create_kern(int family, int type, int proto,