494 |
|
if (viscmp(&xvi[i],&ourvis) > 0) |
495 |
|
quiterr("inadequate visuals on this screen"); |
496 |
|
/* OK, we'll use it */ |
497 |
< |
copystruct(&ourvis, &xvi[i]); |
497 |
> |
ourvis = xvi[i]; |
498 |
|
#ifdef DEBUG |
499 |
|
fprintf(stderr, "Selected visual type %s, depth %d\n", |
500 |
|
vistype[ourvis.class], ourvis.depth); |
892 |
|
} |
893 |
|
|
894 |
|
|
895 |
< |
int |
895 |
> |
void |
896 |
|
colavg(scn, n, cavg) |
897 |
|
register COLR *scn; |
898 |
|
register int n; |
926 |
|
|
927 |
|
int |
928 |
|
dobox(f, p) /* run function over bbox */ |
929 |
< |
int (*f)(); /* function to call for each subscan */ |
929 |
> |
void (*f)(); /* function to call for each subscan */ |
930 |
|
char *p; /* pointer to private data */ |
931 |
|
{ |
932 |
|
int left, right, top, bottom; |
957 |
|
} |
958 |
|
|
959 |
|
|
960 |
< |
int |
960 |
> |
void |
961 |
|
addfix(scn, n) /* add fixation points to histogram */ |
962 |
|
COLR *scn; |
963 |
|
int n; |