Tested with 2.1.63
cut ---------------------
--- msbusmouse.c.old Tue Sep 23 15:22:07 1997
+++ msbusmouse.c Thu Nov 13 14:42:41 1997
@@ -129,15 +129,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 i, dx, dy;
end ------------
Colin
------------------------------------------------
Colin M. Stead colin.stead@yorkshire.tv.co.uk
Electronic and VT Maintenance Department
Please CC at colin.stead@virgin.net Thanks
------------------------------------------------