patch-2.3.29 linux/net/irda/ircomm/ircomm_core.c
Next file: linux/net/irda/irda_device.c
Previous file: linux/net/irda/discovery.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Fri Nov 19 11:33:29 1999
- Orig file:
v2.3.28/linux/net/irda/ircomm/ircomm_core.c
- Orig date:
Sun Nov 7 16:37:34 1999
diff -u --recursive --new-file v2.3.28/linux/net/irda/ircomm/ircomm_core.c linux/net/irda/ircomm/ircomm_core.c
@@ -52,8 +52,7 @@
struct sk_buff *skb, int clen);
#ifdef CONFIG_PROC_FS
-static int ircomm_proc_read(char *buf, char **start, off_t offset, int len,
- int unused);
+static int ircomm_proc_read(char *buf, char **start, off_t offset, int len);
extern struct proc_dir_entry *proc_irda;
#endif /* CONFIG_PROC_FS */
@@ -69,7 +68,7 @@
}
#ifdef CONFIG_PROC_FS
- create_proc_entry("ircomm", 0, proc_irda)->get_info = ircomm_proc_read;
+ create_proc_info_entry("ircomm", 0, proc_irda, ircomm_proc_read);
#endif /* CONFIG_PROC_FS */
MESSAGE("IrCOMM protocol (Dag Brattli)\n");
@@ -463,13 +462,12 @@
#ifdef CONFIG_PROC_FS
/*
- * Function ircomm_proc_read (buf, start, offset, len, unused)
+ * Function ircomm_proc_read (buf, start, offset, len)
*
*
*
*/
-int ircomm_proc_read(char *buf, char **start, off_t offset, int len,
- int unused)
+int ircomm_proc_read(char *buf, char **start, off_t offset, int len)
{
struct ircomm_cb *self;
unsigned long flags;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)