Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.bugs.4bsd Subject: C library lint library misdeclares endgrent() Message-ID: <8378@mimsy.UUCP> Date: Thu, 3-Sep-87 14:28:13 EDT Article-I.D.: mimsy.8378 Posted: Thu Sep 3 14:28:13 1987 Date-Received: Sat, 5-Sep-87 11:54:49 EDT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 31 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