patch-2.1.63 linux/drivers/char/busmouse.c
Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/README.cycladesZ
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Nov 3 15:14:20 1997
- Orig file:
v2.1.62/linux/drivers/char/busmouse.c
- Orig date:
Tue Sep 23 16:48:47 1997
diff -u --recursive --new-file v2.1.62/linux/drivers/char/busmouse.c linux/drivers/char/busmouse.c
@@ -159,8 +159,8 @@
* writes are disallowed
*/
-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;
}
@@ -169,8 +169,8 @@
* read mouse data. Currently never blocks.
*/
-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 r;
int dx;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov