#include <string.h> to bring function prototypes into scope.

This commit is contained in:
jtc 1993-12-28 19:45:46 +00:00
parent 991b130549
commit b64dadb1ac
2 changed files with 5 additions and 3 deletions

View File

@ -33,7 +33,7 @@
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)ttyname.c 5.10 (Berkeley) 5/6/91";*/ /*static char *sccsid = "from: @(#)ttyname.c 5.10 (Berkeley) 5/6/91";*/
static char *rcsid = "$Id: ttyname.c,v 1.5 1993/08/26 00:45:19 jtc Exp $"; static char *rcsid = "$Id: ttyname.c,v 1.6 1993/12/28 19:46:35 jtc Exp $";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#include <sys/types.h> #include <sys/types.h>
@ -42,6 +42,7 @@ static char *rcsid = "$Id: ttyname.c,v 1.5 1993/08/26 00:45:19 jtc Exp $";
#include <dirent.h> #include <dirent.h>
#include <sgtty.h> #include <sgtty.h>
#include <db.h> #include <db.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <paths.h> #include <paths.h>

View File

@ -36,14 +36,15 @@
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)tmpfile.c 5.4 (Berkeley) 5/27/91";*/ /*static char *sccsid = "from: @(#)tmpfile.c 5.4 (Berkeley) 5/27/91";*/
static char *rcsid = "$Id: tmpfile.c,v 1.3 1993/08/26 00:47:30 jtc Exp $"; static char *rcsid = "$Id: tmpfile.c,v 1.4 1993/12/28 19:45:46 jtc Exp $";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#include <sys/types.h> #include <sys/types.h>
#include <signal.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <paths.h> #include <paths.h>
FILE * FILE *