patch-1.3.15 linux/include/asm-alpha/checksum.h

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

diff -u --recursive --new-file v1.3.14/linux/include/asm-alpha/checksum.h linux/include/asm-alpha/checksum.h
@@ -30,7 +30,7 @@
  *
  * it's best to have buff aligned on a 32-bit boundary
  */
-extern unsigned int csum_partial(unsigned char * buff, int len, unsigned int sum);
+extern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
 
 /*
  * the same as csum_partial, but copies from src while it
@@ -39,7 +39,7 @@
  * here even more important to align src and dst on a 32-bit (or even
  * better 64-bit) boundary
  */
-unsigned int csum_partial_copy( char *src, char *dst, int len, int sum);
+unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
 
 /*
  * the same as csum_partial, but copies from user space (but on the alpha

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