[comp.bugs.4bsd] C library lint library misdeclares endgrent

chris@mimsy.UUCP (Chris Torek) (09/03/87)

Index:	usr.bin/lint/llib-lc 4.3BSD Fix

Description:
	endgrent() does not have a return value; llib-lc says it does.

Repeat-By:
	lint login.c, or inspection

Fix:
RCS file: RCS/llib-lc,v
retrieving revision 1.1
retrieving revision 1.2
diff -c2 -r1.1 -r1.2
*** /tmp/,RCSt1017946	Thu Sep  3 14:26:14 1987
--- /tmp/,RCSt2017946	Thu Sep  3 14:26:16 1987
***************
*** 206,210 ****
  	encrypt(s, i) char *s; {}
  int	endfsent() { return 0; }
! int	endgrent() { return 0; }
  	endhostent() { ; }
  	endnetent() { ; }
--- 206,210 ----
  	encrypt(s, i) char *s; {}
  int	endfsent() { return 0; }
! 	endgrent() { ; }
  	endhostent() { ; }
  	endnetent() { ; }
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	seismo!mimsy!chris