mercurial/bdiff.c
changeset 1397 66fd3bc1cfcf
parent 981 4f81068ed8cd
child 1542 8e80eefb3de6
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)