patch-2.3.29 linux/net/ipv4/proc.c

Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/ipmr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/net/ipv4/proc.c linux/net/ipv4/proc.c
@@ -53,7 +53,7 @@
 /*
  *	Report socket allocation statistics [mea@utu.fi]
  */
-int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
+int afinet_get_info(char *buffer, char **start, off_t offset, int length)
 {
 	/* From  net/socket.c  */
 	extern int socket_get_info(char *, char **, off_t, int);
@@ -85,7 +85,7 @@
  *	Called from the PROCfs module. This outputs /proc/net/snmp.
  */
  
-int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
+int snmp_get_info(char *buffer, char **start, off_t offset, int length)
 {
 	extern struct tcp_mib tcp_statistics;
 	extern struct udp_mib udp_statistics;
@@ -164,7 +164,7 @@
  *	Output /proc/net/netstat
  */
  
-int netstat_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
+int netstat_get_info(char *buffer, char **start, off_t offset, int length)
 {
 	extern struct linux_mib net_statistics;
 	int len;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)