]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/net.h
slub: Whitespace cleanup and use of strict_strtoul
[linux-2.6-omap-h63xx.git] / include / linux / net.h
index f95f12c5840ce80ff1976c15e726f68038de20da..71f7dd55928580065f3581898a1657d9cea2b944 100644 (file)
@@ -19,6 +19,7 @@
 #define _LINUX_NET_H
 
 #include <linux/wait.h>
+#include <linux/socket.h>
 #include <asm/socket.h>
 
 struct poll_table_struct;
@@ -26,7 +27,7 @@ struct pipe_inode_info;
 struct inode;
 struct net;
 
-#define NPROTO         34              /* should be enough for now..   */
+#define NPROTO         AF_MAX
 
 #define SYS_SOCKET     1               /* sys_socket(2)                */
 #define SYS_BIND       2               /* sys_bind(2)                  */
@@ -337,7 +338,6 @@ static const struct proto_ops name##_ops = {                        \
 
 #ifdef CONFIG_SYSCTL
 #include <linux/sysctl.h>
-extern ctl_table net_table[];
 extern int net_msg_cost;
 extern int net_msg_burst;
 #endif