pull in string.h or stdlib.h as necessary.

This commit is contained in:
cgd 1994-12-24 16:33:46 +00:00
parent 0c876871bd
commit fcb1f85786
4 changed files with 8 additions and 4 deletions

View File

@ -46,7 +46,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)finger.c 5.22 (Berkeley) 6/29/90";*/
static char rcsid[] = "$Id: finger.c,v 1.3 1993/10/07 19:58:29 brezak Exp $";
static char rcsid[] = "$Id: finger.c,v 1.4 1994/12/24 16:33:46 cgd Exp $";
#endif /* not lint */
/*
@ -65,6 +65,7 @@ static char rcsid[] = "$Id: finger.c,v 1.3 1993/10/07 19:58:29 brezak Exp $";
#include <sys/param.h>
#include <sys/file.h>
#include <stdio.h>
#include <stdlib.h>
#include "finger.h"
time_t now;

View File

@ -36,7 +36,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)lprint.c 5.13 (Berkeley) 10/31/90";*/
static char rcsid[] = "$Id: lprint.c,v 1.3 1993/10/07 19:58:31 brezak Exp $";
static char rcsid[] = "$Id: lprint.c,v 1.4 1994/12/24 16:33:51 cgd Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -45,6 +45,7 @@ static char rcsid[] = "$Id: lprint.c,v 1.3 1993/10/07 19:58:31 brezak Exp $";
#include <sys/time.h>
#include <tzfile.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <paths.h>
#include "finger.h"

View File

@ -36,7 +36,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)net.c 5.5 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: net.c,v 1.3 1994/01/14 03:50:50 mycroft Exp $";
static char rcsid[] = "$Id: net.c,v 1.4 1994/12/24 16:33:53 cgd Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -44,6 +44,7 @@ static char rcsid[] = "$Id: net.c,v 1.3 1994/01/14 03:50:50 mycroft Exp $";
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
netfinger(name)

View File

@ -36,13 +36,14 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)util.c 5.14 (Berkeley) 1/17/91";*/
static char rcsid[] = "$Id: util.c,v 1.4 1994/04/01 03:33:42 cgd Exp $";
static char rcsid[] = "$Id: util.c,v 1.5 1994/12/24 16:33:55 cgd Exp $";
#endif /* not lint */
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <paths.h>