diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 02:18:36 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 02:18:36 +0000 |
commit | 809bbfd246c51497535a257596a077745e722fb8 (patch) | |
tree | 343f071272308ffd3569d9a61c3741f0dbc93be5 /libexec/getty/chat.c | |
parent | c78b77dbd046d96262b41bb5c6f5b2880c28f269 (diff) | |
download | FreeBSD-src-809bbfd246c51497535a257596a077745e722fb8.zip FreeBSD-src-809bbfd246c51497535a257596a077745e722fb8.tar.gz |
Removed unused include of <sys/resource.h> instead of depending on
namespace pollution only 1 layer deep in <sys/stat.h> for its
prerequisite <sys/time.h>
Removed other unused includes.
Diffstat (limited to 'libexec/getty/chat.c')
-rw-r--r-- | libexec/getty/chat.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index 4e14176..3df41a8 100644 --- a/libexec/getty/chat.c +++ b/libexec/getty/chat.c @@ -28,26 +28,16 @@ static const char rcsid[] = "$FreeBSD$"; #endif /* not lint */ -#include <sys/param.h> -#include <sys/stat.h> +#include <sys/types.h> #include <sys/ioctl.h> -#include <sys/resource.h> -#include <sys/ttydefaults.h> #include <sys/utsname.h> + #include <ctype.h> -#include <errno.h> -#include <fcntl.h> -#include <libutil.h> -#include <locale.h> -#include <setjmp.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <syslog.h> -#include <time.h> -#include <termios.h> #include <unistd.h> -#include <sys/socket.h> #include "extern.h" |