18 |
|
|
19 |
|
#include "standard.h" |
20 |
|
|
21 |
+ |
#include <string.h> |
22 |
|
#include <signal.h> |
23 |
|
#include <X11/Xlib.h> |
24 |
|
#include <X11/cursorfont.h> |
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; |
1310 |
|
static int trunced = -1; /* truncated file? */ |
1311 |
|
skipit: |
1312 |
|
if (trunced >= 0 && y >= trunced) { |
1313 |
< |
bzero(scanline, xmax*sizeof(COLR)); |
1313 |
> |
memset(scanline, '\0', xmax*sizeof(COLR)); |
1314 |
|
return(-1); |
1315 |
|
} |
1316 |
|
if (y != cury) { |