diff options
author | jkh <jkh@FreeBSD.org> | 1998-10-09 11:24:20 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-10-09 11:24:20 +0000 |
commit | aac7427316dcb7e06c54c6c78b84598834fa0db0 (patch) | |
tree | 2582d7f9f88282c0936225426bcf8de22770d7c7 /lib | |
parent | 594459b1b55213bd7548edb3c499992399ef4701 (diff) | |
download | FreeBSD-src-aac7427316dcb7e06c54c6c78b84598834fa0db0.zip FreeBSD-src-aac7427316dcb7e06c54c6c78b84598834fa0db0.tar.gz |
Now take stdio.h out of files that don't require it.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/_secure_path.c | 3 | ||||
-rw-r--r-- | lib/libutil/login.c | 3 | ||||
-rw-r--r-- | lib/libutil/login_ok.c | 3 | ||||
-rw-r--r-- | lib/libutil/login_times.c | 3 | ||||
-rw-r--r-- | lib/libutil/login_tty.c | 3 | ||||
-rw-r--r-- | lib/libutil/logout.c | 3 | ||||
-rw-r--r-- | lib/libutil/logwtmp.c | 3 | ||||
-rw-r--r-- | lib/libutil/property.c | 3 | ||||
-rw-r--r-- | lib/libutil/pty.c | 3 |
9 files changed, 10 insertions, 17 deletions
diff --git a/lib/libutil/_secure_path.c b/lib/libutil/_secure_path.c index 4fd1fc5..983292f 100644 --- a/lib/libutil/_secure_path.c +++ b/lib/libutil/_secure_path.c @@ -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> diff --git a/lib/libutil/login.c b/lib/libutil/login.c index 235f271..8ff2d5f 100644 --- a/lib/libutil/login.c +++ b/lib/libutil/login.c @@ -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 diff --git a/lib/libutil/login_ok.c b/lib/libutil/login_ok.c index 1bfcd2f..b0927e4 100644 --- a/lib/libutil/login_ok.c +++ b/lib/libutil/login_ok.c @@ -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> diff --git a/lib/libutil/login_times.c b/lib/libutil/login_times.c index 598592b..84ca397 100644 --- a/lib/libutil/login_times.c +++ b/lib/libutil/login_times.c @@ -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> diff --git a/lib/libutil/login_tty.c b/lib/libutil/login_tty.c index d1fe3cf..23792d4 100644 --- a/lib/libutil/login_tty.c +++ b/lib/libutil/login_tty.c @@ -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 diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c index 10a11c2..e5df798 100644 --- a/lib/libutil/logout.c +++ b/lib/libutil/logout.c @@ -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> diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c index ee07564..de98ee5 100644 --- a/lib/libutil/logwtmp.c +++ b/lib/libutil/logwtmp.c @@ -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> diff --git a/lib/libutil/property.c b/lib/libutil/property.c index d7c93d7..211450c 100644 --- a/lib/libutil/property.c +++ b/lib/libutil/property.c @@ -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> diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 57e684c..839c1b7 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -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> |