diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-07 03:58:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:30 -0500 |
commit | d9b5444eeb3a663ca4a625878b1421c9e9b18e8b (patch) | |
tree | 6cc32711116977944043c54e0c196c75358916be /include/asm-cris/checksum.h | |
parent | 5f9c3cbcd5d41be597aef9c0ff64ebfc8a91cd6f (diff) |
[PATCH] cris: "extern inline" -> "static inline"
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-cris/checksum.h')
-rw-r--r-- | include/asm-cris/checksum.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-cris/checksum.h b/include/asm-cris/checksum.h index 15ca8aec5c63..26a7719bbb84 100644 --- a/include/asm-cris/checksum.h +++ b/include/asm-cris/checksum.h | |||
@@ -34,7 +34,7 @@ unsigned int csum_partial_copy_nocheck(const char *src, char *dst, | |||
34 | * Fold a partial checksum into a word | 34 | * Fold a partial checksum into a word |
35 | */ | 35 | */ |
36 | 36 | ||
37 | extern inline unsigned int csum_fold(unsigned int sum) | 37 | static inline unsigned int csum_fold(unsigned int sum) |
38 | { | 38 | { |
39 | /* the while loop is unnecessary really, it's always enough with two | 39 | /* the while loop is unnecessary really, it's always enough with two |
40 | iterations */ | 40 | iterations */ |
@@ -55,7 +55,7 @@ extern unsigned int csum_partial_copy_from_user(const char *src, char *dst, | |||
55 | * | 55 | * |
56 | */ | 56 | */ |
57 | 57 | ||
58 | extern inline unsigned short ip_fast_csum(unsigned char * iph, | 58 | static inline unsigned short ip_fast_csum(unsigned char * iph, |
59 | unsigned int ihl) | 59 | unsigned int ihl) |
60 | { | 60 | { |
61 | return csum_fold(csum_partial(iph, ihl * 4, 0)); | 61 | return csum_fold(csum_partial(iph, ihl * 4, 0)); |
@@ -66,7 +66,7 @@ extern inline unsigned short ip_fast_csum(unsigned char * iph, | |||
66 | * returns a 16-bit checksum, already complemented | 66 | * returns a 16-bit checksum, already complemented |
67 | */ | 67 | */ |
68 | 68 | ||
69 | extern inline unsigned short int csum_tcpudp_magic(unsigned long saddr, | 69 | static inline unsigned short int csum_tcpudp_magic(unsigned long saddr, |
70 | unsigned long daddr, | 70 | unsigned long daddr, |
71 | unsigned short len, | 71 | unsigned short len, |
72 | unsigned short proto, | 72 | unsigned short proto, |
@@ -80,7 +80,7 @@ extern inline unsigned short int csum_tcpudp_magic(unsigned long saddr, | |||
80 | * in icmp.c | 80 | * in icmp.c |
81 | */ | 81 | */ |
82 | 82 | ||
83 | extern inline unsigned short ip_compute_csum(unsigned char * buff, int len) { | 83 | static inline unsigned short ip_compute_csum(unsigned char * buff, int len) { |
84 | return csum_fold (csum_partial(buff, len, 0)); | 84 | return csum_fold (csum_partial(buff, len, 0)); |
85 | } | 85 | } |
86 | 86 | ||