--- ray/src/hd/rhd_qtree2c.c 2011/05/20 02:06:39 3.4 +++ ray/src/hd/rhd_qtree2c.c 2018/10/05 19:19:16 3.5 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rhd_qtree2c.c,v 3.4 2011/05/20 02:06:39 greg Exp $"; +static const char RCSid[] = "$Id: rhd_qtree2c.c,v 3.5 2018/10/05 19:19:16 greg Exp $"; #endif /* * Quadtree display support routines for cone output. @@ -16,7 +16,7 @@ static void update(uby8 ca[3], RTREE *tp, int x0, int static void redraw( /* mark portion of a tree for redraw */ - register RTREE *tp, + RTREE *tp, int x0, int y0, int x1, @@ -26,7 +26,7 @@ redraw( /* mark portion of a tree for redraw */ { int quads = CH_ANY; int mx, my; - register int i; + int i; /* compute midpoint */ mx = (x0 + x1) >> 1; my = (y0 + y1) >> 1; @@ -51,7 +51,7 @@ redraw( /* mark portion of a tree for redraw */ static void cpaint( /* paint a cone within a rectangle */ uby8 rgb[3], - register float *p, + float *p, int x0, int y0, int x1, @@ -96,7 +96,7 @@ cpaint( /* paint a cone within a rectangle */ static void update( /* update tree display as needed */ uby8 ca[3], /* returned average color */ - register RTREE *tp, + RTREE *tp, int x0, int y0, int x1, @@ -104,11 +104,11 @@ update( /* update tree display as needed */ ) { int csm[3], nc; - register uby8 *cp; + uby8 *cp; uby8 rgb[3]; int gaps = 0; int mx, my; - register int i; + int i; /* compute midpoint */ mx = (x0 + x1) >> 1; my = (y0 + y1) >> 1; @@ -149,7 +149,7 @@ update( /* update tree display as needed */ } -extern void +void qtRedraw( /* redraw part or all of our screen */ int x0, int y0, @@ -168,7 +168,7 @@ qtRedraw( /* redraw part or all of our screen */ } -extern void +void qtUpdate(void) /* update our tree display */ { uby8 ca[3];