patch-2.0.21-2.1.0 linux/drivers/char/msbusmouse.c
Next file: linux/drivers/char/psaux.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Sep 30 10:53:25 1996
- Orig file:
lx2.0/v2.0.21/linux/drivers/char/msbusmouse.c
- Orig date:
Fri May 10 07:44:05 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/drivers/char/msbusmouse.c linux/drivers/char/msbusmouse.c
@@ -127,12 +127,14 @@
}
-static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count)
+static long write_mouse(struct inode * inode, struct file * file,
+ const char * buffer, unsigned long count)
{
return -EINVAL;
}
-static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
+static long read_mouse(struct inode * inode, struct file * file,
+ char * buffer, unsigned long count)
{
int i, dx, dy;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov