patch-2.3.29 linux/net/core/dev.c

Next file: linux/net/decnet/af_decnet.c
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/net/core/dev.c linux/net/core/dev.c
@@ -1228,7 +1228,7 @@
  *	to create /proc/net/dev
  */
  
-int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
+static int dev_get_info(char *buffer, char **start, off_t offset, int length)
 {
 	int len=0;
 	off_t begin=0;
@@ -1346,8 +1346,8 @@
  * Print info for /proc/net/wireless (print all entries)
  * This is a clone of /proc/net/dev (just above)
  */
-int dev_get_wireless_info(char * buffer, char **start, off_t offset,
-			  int length, int dummy)
+static int dev_get_wireless_info(char * buffer, char **start, off_t offset,
+			  int length)
 {
 	int		len = 0;
 	off_t		begin = 0;

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