--- tools/clock/rleClock.c.orig 2005-10-02 13:15:16.000000000 +0200 +++ tools/clock/rleClock.c 2005-10-02 13:01:57.000000000 +0200 @@ -909,14 +909,14 @@ typedef struct { short x, y; int dir; -} stack_t; +} stack2_t; #define NORTH 0 #define WEST 1 #define SOUTH 2 #define EAST 3 struct { - stack_t *s; + stack2_t *s; int top; int allocked; } Stack; @@ -929,9 +929,9 @@ int firstX, firstY; int mask, match, value; { - register stack_t *sp; + register stack2_t *sp; - Stack.s = (stack_t *) calloc(256, sizeof(stack_t)); + Stack.s = (stack2_t *) calloc(256, sizeof(stack2_t)); Stack.allocked = 256; Stack.top = -1; stackPush(firstX, firstY, NORTH); @@ -964,7 +964,7 @@ { if (++Stack.top >= Stack.allocked) { Stack.allocked += 256; - Stack.s = (stack_t *) realloc(Stack.s, Stack.allocked * sizeof(stack_t)); + Stack.s = (stack2_t *) realloc(Stack.s, Stack.allocked * sizeof(stack2_t)); if(Debug)fprintf(stderr, "Stack growing to %d\n", Stack.allocked); } Stack.s[Stack.top].x = x;