[net.unix-wizards] Minor bugs in lint libraries

craig%bbn-labs-b@sri-unix.UUCP (04/16/84)

From:  Craig Partridge <craig@bbn-labs-b>


sigvec(2) and getgroups(2) were misdefined in /usr/lib/lint/llib-lc
(on both the SUN 4.2 release and Berkeley's 4.2 release for the Vax).  A
diff listing is below  (bad lines were just commented out and replaced).
After fixing use lint with the -C switch to fix the .ln file.

Craig Partridge
craig@bbn-unix
craig!bbncca

48c48,50
< int	getgroups( n, g ) int *n, *g; { return 0; }
---
> /* a buggy line */
> /* int	getgroups( n, g ) int *n, *g; { return 0; } */
> int	getgroups( n, g ) int n, *g; { return n; }
117c119,121
< int	(*sigvec(c, f, m))() int (*f)(); { return(f); }
---
> /* a buggy line */
> /* int	(*sigvec(c, f, m))() int (*f)(); { return(f); } */
> int	sigvec(s,v,o) struct sigvec *v, *o; { return s; }