Now take stdio.h out of files that don't require it.

This commit is contained in:
Jordan K. Hubbard 1998-10-09 11:24:20 +00:00
parent e4f570a215
commit 8b1ef8d464
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40117
9 changed files with 10 additions and 17 deletions

View file

@ -18,13 +18,12 @@
* 5. Modifications may be freely made to this file providing the above
* conditions are met.
*
* $Id: _secure_path.c,v 1.2 1997/05/15 06:06:32 davidn Exp $
* $Id: _secure_path.c,v 1.3 1998/10/09 00:39:08 jkh Exp $
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <syslog.h>
#include <errno.h>
#include <libutil.h>

View file

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)login.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
"$Id$";
"$Id: login.c,v 1.4 1997/08/13 20:42:16 steve Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@ -46,7 +46,6 @@ static const char rcsid[] =
#include <unistd.h>
#include <stdlib.h>
#include <utmp.h>
#include <stdio.h>
#include <libutil.h>
void

View file

@ -20,10 +20,9 @@
*
* Support allow/deny lists in login class capabilities
*
* $Id: login_ok.c,v 1.4 1997/05/10 18:55:38 davidn Exp $
* $Id: login_ok.c,v 1.5 1997/06/16 23:38:01 davidn Exp $
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

View file

@ -20,10 +20,9 @@
*
* Login period parsing and comparison functions.
*
* $Id: login_times.c,v 1.4 1997/02/22 15:08:27 peter Exp $
* $Id: login_times.c,v 1.5 1997/05/10 18:55:38 davidn Exp $
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

View file

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)login_tty.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
"$Id: login_tty.c,v 1.3 1997/08/13 20:42:17 steve Exp $";
"$Id: login_tty.c,v 1.4 1998/10/09 00:39:08 jkh Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@ -45,7 +45,6 @@ static const char rcsid[] =
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <libutil.h>
int

View file

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)logout.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
"$Id: logout.c,v 1.3 1997/08/13 20:42:17 steve Exp $";
"$Id: logout.c,v 1.4 1998/10/09 00:39:09 jkh Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@ -47,7 +47,6 @@ static const char rcsid[] =
#include <utmp.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libutil.h>

View file

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
"$Id: logwtmp.c,v 1.6 1998/06/01 08:46:53 amurai Exp $";
"$Id: logwtmp.c,v 1.7 1998/10/09 00:39:09 jkh Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@ -47,7 +47,6 @@ static const char rcsid[] =
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <libutil.h>
#include <netdb.h>
#include <string.h>

View file

@ -31,8 +31,9 @@
*/
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <libutil.h>

View file

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)pty.c 8.3 (Berkeley) 5/16/94";
#else
static const char rcsid[] =
"$Id$";
"$Id: pty.c,v 1.7 1997/08/13 20:42:18 steve Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@ -47,7 +47,6 @@ static const char rcsid[] =
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>