patch-2.3.29 linux/drivers/char/ip2main.c

Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/char/h8.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/drivers/char/ip2main.c linux/drivers/char/ip2main.c
@@ -71,7 +71,7 @@
 
 #include <linux/proc_fs.h>
 
-int ip2_read_procmem(char *, char **, off_t, int, int );
+static int ip2_read_procmem(char *, char **, off_t, int);
 int ip2_read_proc(char *, char **, off_t, int, int *, void * );
 
 /********************/
@@ -3003,8 +3003,8 @@
 
 #define LIMIT  (PAGE_SIZE - 120)
 
-int
-ip2_read_procmem(char *buf, char **start, off_t offset, int len, int unused)
+static int
+ip2_read_procmem(char *buf, char **start, off_t offset, int len)
 {
 	i2eBordStrPtr  pB;
 	i2ChanStrPtr  pCh;

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