patch-2.0.21-2.1.0 linux/drivers/char/busmouse.c
Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/atixlmouse.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Sep 30 10:51:46 1996
- Orig file:
lx2.0/v2.0.21/linux/drivers/char/busmouse.c
- Orig date:
Tue Apr 2 08:43:06 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/drivers/char/busmouse.c linux/drivers/char/busmouse.c
@@ -155,7 +155,8 @@
* writes are disallowed
*/
-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;
}
@@ -164,7 +165,8 @@
* read mouse data. Currently never blocks.
*/
-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 r;
int dx;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov