gwyn@Brl@sri-unix (12/01/82)
From: Doug Gwyn <gwyn@Brl>
Date: 29 Nov 82 17:45:42-EST (Mon)
Gee... after mailing my bug note I decided to look more closely at llib-lc.
There was another VARAGRS instead of VARARGS, plus the following fixes:
char *bsearch(a, b, c, d, e) char *a, *b; int c, d; int (*e)(); { return(b); } /* DAG -- fixed `e' type */
char *lsearch(a, b, c, d, e) char *a, *b; int c, d; int (*e)(); { return(b); } /* DAG -- fixed `e' type */
monitor(l, h, s, b, c) int (*l)(), (*h)(); short *s; {;} /* DAG -- fixed types */
int stime(t) long *t; { return(0); } /* DAG -- fixed `t' type */
daddr_t ulimit(c, n) daddr_t n; { return(n); } /* DAG -- added first arg */
int fread( p, s, n, f ) char *p; unsigned s; FILE *f; {return(1);} /* DAG -- fixed `n' type */
int fwrite( p, s, n, f ) char *p; unsigned s; FILE *f; {return(0);} /* DAG -- fixed `n' type */
There were also several "apparent" type conflicts that I could understand
the reason for; they should be left alone.