patch-2.1.88 linux/drivers/char/atarimouse.c
Next file: linux/drivers/char/bttv.c
Previous file: linux/drivers/char/apm_bios.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Feb 20 17:55:45 1998
- Orig file:
v2.1.87/linux/drivers/char/atarimouse.c
- Orig date:
Sat Sep 13 11:07:27 1997
diff -u --recursive --new-file v2.1.87/linux/drivers/char/atarimouse.c linux/drivers/char/atarimouse.c
@@ -90,14 +90,14 @@
return 0;
}
-static long write_mouse(struct inode *inode, struct file *file,
- const char *buffer, unsigned long count)
+static ssize_t write_mouse(struct file *file, const char *buffer,
+ size_t count, loff_t *ppos)
{
return -EINVAL;
}
-static long read_mouse(struct inode *inode, struct file *file,
- char *buffer, unsigned long count)
+static ssize_t read_mouse(struct file * file, char * buffer,
+ size_t count, loff_t *ppos)
{
int dx, dy, buttons;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov