Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/getty remove useless include (sys/stat.h) and add us...



details:   https://anonhg.NetBSD.org/src/rev/fe83aa24953c
branches:  trunk
changeset: 782505:fe83aa24953c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 04 21:14:59 2012 +0000

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

diffstat:

 libexec/getty/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r f15095961c71 -r fe83aa24953c libexec/getty/main.c
--- a/libexec/getty/main.c      Sun Nov 04 20:46:46 2012 +0000
+++ b/libexec/getty/main.c      Sun Nov 04 21:14:59 2012 +0000
@@ -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 @@
 #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 @@
 #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>



Home | Main Index | Thread Index | Old Index