patch-1.3.18 linux/net/netrom/af_netrom.c

Next file: linux/net/socket.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -54,6 +54,8 @@
 #include <net/ip.h>
 #include <net/arp.h>
 
+#include <linux/proc_fs.h>
+
 /************************************************************************\
 *									*
 *			Handlers for the socket list			*
@@ -1391,11 +1393,11 @@
 	nr_default.window     = NR_DEFAULT_WINDOW;
 
 proc_net_register(&(struct proc_dir_entry)
-	{ PROC_NET_NR,		nr_get_info,		2, "nr" });
+	{ PROC_NET_NR, 2, "nr", nr_get_info });
 proc_net_register(&(struct proc_dir_entry)
-	{ PROC_NET_NR_NEIGH,	nr_neigh_get_info,	8, "nr_neigh" });
+	{ PROC_NET_NR_NEIGH, 8, "nr_neigh", nr_neigh_get_info });
 proc_net_register(&(struct proc_dir_entry)
-	{ PROC_NET_NR_NODES,	nr_nodes_get_info,	8, "nr_nodes" });
+	{ PROC_NET_NR_NODES, 8, "nr_nodes", nr_nodes_get_info });
 
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this