Module Name:    src
Committed By:   christos
Date:           Sun Nov  4 21:14:59 UTC 2012

Modified Files:
        src/libexec/getty: main.c

Log Message:
remove useless include (sys/stat.h) and add useful one (stdio.h)


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/libexec/getty/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/getty/main.c
diff -u src/libexec/getty/main.c:1.59 src/libexec/getty/main.c:1.60
--- src/libexec/getty/main.c:1.59	Thu Jun 28 04:55:10 2012
+++ src/libexec/getty/main.c	Sun Nov  4 16:14:59 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.59 2012/06/28 08:55:10 roy Exp $	*/
+/*	$NetBSD: main.c,v 1.60 2012/11/04 21:14:59 christos Exp $	*/
 
 /*-
  * Copyright (c) 1980, 1993
@@ -40,13 +40,11 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "from: @(#)main.c	8.1 (Berkeley) 6/20/93";
 #else
-__RCSID("$NetBSD: main.c,v 1.59 2012/06/28 08:55:10 roy Exp $");
+__RCSID("$NetBSD: main.c,v 1.60 2012/11/04 21:14:59 christos Exp $");
 #endif
 #endif /* not lint */
 
 #include <sys/param.h>
-#include <sys/stat.h>
-#include <termios.h>
 #include <sys/ioctl.h>
 #include <sys/resource.h>
 #include <sys/utsname.h>
@@ -58,10 +56,12 @@ __RCSID("$NetBSD: main.c,v 1.59 2012/06/
 #include <pwd.h>
 #include <setjmp.h>
 #include <signal.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <syslog.h>
 #include <term.h>
+#include <termios.h>
 #include <time.h>
 #include <ttyent.h>
 #include <unistd.h>

Reply via email to