comparison mercurial/bdiff.c @ 439:f81a011fba3d

Use __inline instead of inline -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Use __inline instead of inline This should let us compile bdiff.c on the other OS. manifest hash: c1233bb3c7fc060e49dbd2597c122d903797db9e -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuu/WywK+sNU5EO8RAtqvAKC0d8Kv8He6xNCwmFnvKcff9BT4gACeLq7n 9JDFxYtWMrgjwlShfay1nL4= =GDFt -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 23 Jun 2005 09:22:30 -0800
parents e731d25ddab2
children ea93402b81b9 50da4bb9cab6
comparison
equal deleted inserted replaced
438:b38deaf7873e 439:f81a011fba3d
40 40
41 struct hunklist { 41 struct hunklist {
42 struct hunk *base, *head; 42 struct hunk *base, *head;
43 }; 43 };
44 44
45 static inline uint32_t rol32(uint32_t word, unsigned int shift) 45 static __inline uint32_t rol32(uint32_t word, unsigned int shift)
46 { 46 {
47 return (word << shift) | (word >> (32 - shift)); 47 return (word << shift) | (word >> (32 - shift));
48 } 48 }
49 49
50 int splitlines(const char *a, int len, struct line **lr) 50 int splitlines(const char *a, int len, struct line **lr)