patch-1.3.15 linux/fs/xiafs/file.c

Next file: linux/include/asm-alpha/checksum.h
Previous file: linux/fs/umsdos/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/xiafs/file.c linux/fs/xiafs/file.c
@@ -33,7 +33,7 @@
 #define MAX(a,b) (((a)>(b))?(a):(b))
 
 static int xiafs_file_read(struct inode *, struct file *, char *, int);
-static int xiafs_file_write(struct inode *, struct file *, char *, int);
+static int xiafs_file_write(struct inode *, struct file *, const char *, int);
 
 /*
  * We have mostly NULL's here: the current defaults are ok for
@@ -191,7 +191,7 @@
 }
 
 static int 
-xiafs_file_write(struct inode * inode, struct file * filp, char * buf, int count)
+xiafs_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
 {
     off_t pos;
     int written, c;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this