mercurial/bdiff.c
changeset 439 f81a011fba3d
parent 435 e731d25ddab2
child 463 ea93402b81b9
child 464 50da4bb9cab6
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)