comparison mercurial/bdiff.c @ 1397:66fd3bc1cfcf

bdiff: change spurious __inline to inline
author Matt Mackall <mpm@selenic.com>
date Tue, 18 Oct 2005 12:11:23 -0700
parents 4f81068ed8cd
children 8e80eefb3de6
comparison
equal deleted inserted replaced
1396:8c3e2a254257 1397:66fd3bc1cfcf
51 51
52 struct hunklist { 52 struct hunklist {
53 struct hunk *base, *head; 53 struct hunk *base, *head;
54 }; 54 };
55 55
56 static __inline uint32_t rol32(uint32_t word, unsigned int shift) 56 static inline uint32_t rol32(uint32_t word, unsigned int shift)
57 { 57 {
58 return (word << shift) | (word >> (32 - shift)); 58 return (word << shift) | (word >> (32 - shift));
59 } 59 }
60 60
61 int splitlines(const char *a, int len, struct line **lr) 61 int splitlines(const char *a, int len, struct line **lr)