summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2002-09-23 03:32:34 +0000
committeritojun <itojun@NetBSD.org>2002-09-23 03:32:34 +0000
commita9fc5f306a72ef2481ea96357f7b8e5397dffce0 (patch)
tree177e718403f4f2f4cc5aec45599452628862be53 /libexec
parent3d91bfef7951a486cfa263594b8978a2d44a975a (diff)
poll.h, not sys/poll.h
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/subr.c6
-rw-r--r--libexec/identd/identd.c4
-rw-r--r--libexec/rexecd/rexecd.c6
-rw-r--r--libexec/rlogind/rlogind.c6
-rw-r--r--libexec/rshd/rshd.c6
5 files changed, 14 insertions, 14 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index cdc94da65c5..6ea2eab0130 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: subr.c,v 1.26 2002/09/18 20:04:51 mycroft Exp $ */
+/* $NetBSD: subr.c,v 1.27 2002/09/23 03:32:34 itojun Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: subr.c,v 1.26 2002/09/18 20:04:51 mycroft Exp $");
+__RCSID("$NetBSD: subr.c,v 1.27 2002/09/23 03:32:34 itojun Exp $");
#endif
#endif /* not lint */
@@ -48,12 +48,12 @@ __RCSID("$NetBSD: subr.c,v 1.26 2002/09/18 20:04:51 mycroft Exp $");
#define COMPAT_43
#include <sys/param.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
+#include <poll.h>
#include "extern.h"
#include "gettytab.h"
diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c
index e7990b1bef8..bb4b1d99f41 100644
--- a/libexec/identd/identd.c
+++ b/libexec/identd/identd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: identd.c,v 1.14 2002/09/18 20:20:28 mycroft Exp $ */
+/* $NetBSD: identd.c,v 1.15 2002/09/23 03:32:35 itojun Exp $ */
/*
** identd.c A TCP/IP link identification protocol server
@@ -36,12 +36,12 @@
#include <netdb.h>
#include <signal.h>
#include <fcntl.h>
+#include <poll.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
-#include <sys/poll.h>
#ifndef _AUX_SOURCE
# include <sys/file.h>
#endif
diff --git a/libexec/rexecd/rexecd.c b/libexec/rexecd/rexecd.c
index ea551f41c90..e15ddfcfe1f 100644
--- a/libexec/rexecd/rexecd.c
+++ b/libexec/rexecd/rexecd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rexecd.c,v 1.11 2002/06/05 23:05:34 itojun Exp $ */
+/* $NetBSD: rexecd.c,v 1.12 2002/09/23 03:32:35 itojun Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -40,13 +40,12 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "from: @(#)rexecd.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: rexecd.c,v 1.11 2002/06/05 23:05:34 itojun Exp $");
+__RCSID("$NetBSD: rexecd.c,v 1.12 2002/09/23 03:32:35 itojun Exp $");
#endif
#endif /* not lint */
#include <sys/param.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/syslog.h>
#include <sys/time.h>
@@ -64,6 +63,7 @@ __RCSID("$NetBSD: rexecd.c,v 1.11 2002/06/05 23:05:34 itojun Exp $");
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <poll.h>
void error __P((const char *, ...))
__attribute__((__format__(__printf__, 1, 2)));
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index 12088a34481..165ce76263e 100644
--- a/libexec/rlogind/rlogind.c
+++ b/libexec/rlogind/rlogind.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rlogind.c,v 1.28 2002/09/20 19:07:34 mycroft Exp $ */
+/* $NetBSD: rlogind.c,v 1.29 2002/09/23 03:32:35 itojun Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -73,7 +73,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)rlogind.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: rlogind.c,v 1.28 2002/09/20 19:07:34 mycroft Exp $");
+__RCSID("$NetBSD: rlogind.c,v 1.29 2002/09/23 03:32:35 itojun Exp $");
#endif
#endif /* not lint */
@@ -89,9 +89,9 @@ __RCSID("$NetBSD: rlogind.c,v 1.28 2002/09/20 19:07:34 mycroft Exp $");
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <signal.h>
#include <termios.h>
+#include <poll.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index 00c71e67695..9c5fd95f9ba 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rshd.c,v 1.26 2002/09/18 20:44:38 mycroft Exp $ */
+/* $NetBSD: rshd.c,v 1.27 2002/09/23 03:32:35 itojun Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -73,7 +73,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1992, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94";
#else
-__RCSID("$NetBSD: rshd.c,v 1.26 2002/09/18 20:44:38 mycroft Exp $");
+__RCSID("$NetBSD: rshd.c,v 1.27 2002/09/23 03:32:35 itojun Exp $");
#endif
#endif /* not lint */
@@ -89,7 +89,6 @@ __RCSID("$NetBSD: rshd.c,v 1.26 2002/09/18 20:44:38 mycroft Exp $");
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/socket.h>
-#include <sys/poll.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -105,6 +104,7 @@ __RCSID("$NetBSD: rshd.c,v 1.26 2002/09/18 20:44:38 mycroft Exp $");
#include <string.h>
#include <syslog.h>
#include <unistd.h>
+#include <poll.h>
#ifdef LOGIN_CAP
#include <login_cap.h>
#endif