aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-cris/checksum.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-14 20:00:47 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:44 -0500
commitb956947106c788a3f2ce0375af930b4cbf7454d5 (patch)
tree6aa89716ff4fbb5b91677bce9d157abaff7938a7 /include/asm-cris/checksum.h
parentd297a5d576d549d97dce456ba4bd01e5a47e899c (diff)
cris build fixes: fix csum_tcpudp_magic() declaration
Remove int from prototype, no longer needed and causes compile error. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-cris/checksum.h')
-rw-r--r--include/asm-cris/checksum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-cris/checksum.h b/include/asm-cris/checksum.h
index 180dbf2757b0..c6c5be62c698 100644
--- a/include/asm-cris/checksum.h
+++ b/include/asm-cris/checksum.h
@@ -62,7 +62,7 @@ static inline __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
62 * returns a 16-bit checksum, already complemented 62 * returns a 16-bit checksum, already complemented
63 */ 63 */
64 64
65static inline __sum16 int csum_tcpudp_magic(__be32 saddr, __be32 daddr, 65static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
66 unsigned short len, 66 unsigned short len,
67 unsigned short proto, 67 unsigned short proto,
68 __wsum sum) 68 __wsum sum)