summaryrefslogtreecommitdiff
path: root/include/asm-ia64/checksum.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-01-23 12:27:04 +0000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-23 11:09:49 -0800
commit73f66ace34e3d935d1ad01208234f8871ac1f500 (patch)
tree43fc036354a1389d5f89118c060693fe6333a0bf /include/asm-ia64/checksum.h
parent4384247b6910df91049f8d0bbd5c1075898ac290 (diff)
[PATCH] fix prototype of csum_ipv6_magic() (ia64)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-ia64/checksum.h')
-rw-r--r--include/asm-ia64/checksum.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ia64/checksum.h b/include/asm-ia64/checksum.h
index 2b78582cbd61..97af155057e4 100644
--- a/include/asm-ia64/checksum.h
+++ b/include/asm-ia64/checksum.h
@@ -72,8 +72,8 @@ static inline __sum16 csum_fold(__wsum csum)
#define _HAVE_ARCH_IPV6_CSUM 1
struct in6_addr;
-extern unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
- struct in6_addr *daddr, __u32 len, unsigned short proto,
- unsigned int csum);
+extern __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
+ const struct in6_addr *daddr, __u32 len, unsigned short proto,
+ __wsum csum);
#endif /* _ASM_IA64_CHECKSUM_H */