--- bitap.c.orig 1992-01-17 21:00:15 UTC +++ bitap.c @@ -13,6 +13,8 @@ #include "agrep.h" +#include + extern unsigned Init1, D_endpos, endposition, Init[], Mask[], Bit[]; extern int DELIMITER, FILENAMEONLY, D_length, I, AND, REGEX, JUMP, INVERSE; extern char D_pattern[]; @@ -22,7 +24,7 @@ extern int num_of_matched; /* bitap dispatches job */ -bitap(old_D_pat, Pattern, fd, M, D) +void bitap(old_D_pat, Pattern, fd, M, D) char old_D_pat[], *Pattern; int fd, M, D; { char c; @@ -143,7 +145,7 @@ char buffer[Max_record+Max_record+BlockS return; } -fill_buf(fd, buf, record_size) +int fill_buf(fd, buf, record_size) int fd, record_size; unsigned char *buf; { int num_read=1;