Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec poll.h, not sys/poll.h
details: https://anonhg.NetBSD.org/src/rev/788e99ac0e24
branches: trunk
changeset: 536855:788e99ac0e24
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Sep 23 03:32:34 2002 +0000
description:
poll.h, not sys/poll.h
diffstat:
libexec/getty/subr.c | 6 +++---
libexec/identd/identd.c | 4 ++--
libexec/rexecd/rexecd.c | 6 +++---
libexec/rlogind/rlogind.c | 6 +++---
libexec/rshd/rshd.c | 6 +++---
5 files changed, 14 insertions(+), 14 deletions(-)
diffs (150 lines):
diff -r 849a52765263 -r 788e99ac0e24 libexec/getty/subr.c
--- a/libexec/getty/subr.c Mon Sep 23 03:32:04 2002 +0000
+++ b/libexec/getty/subr.c Mon Sep 23 03:32:34 2002 +0000
@@ -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 @@
#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 -r 849a52765263 -r 788e99ac0e24 libexec/identd/identd.c
--- a/libexec/identd/identd.c Mon Sep 23 03:32:04 2002 +0000
+++ b/libexec/identd/identd.c Mon Sep 23 03:32:34 2002 +0000
@@ -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 -r 849a52765263 -r 788e99ac0e24 libexec/rexecd/rexecd.c
--- a/libexec/rexecd/rexecd.c Mon Sep 23 03:32:04 2002 +0000
+++ b/libexec/rexecd/rexecd.c Mon Sep 23 03:32:34 2002 +0000
@@ -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 @@
#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 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <poll.h>
void error __P((const char *, ...))
__attribute__((__format__(__printf__, 1, 2)));
diff -r 849a52765263 -r 788e99ac0e24 libexec/rlogind/rlogind.c
--- a/libexec/rlogind/rlogind.c Mon Sep 23 03:32:04 2002 +0000
+++ b/libexec/rlogind/rlogind.c Mon Sep 23 03:32:34 2002 +0000
@@ -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 @@
#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 @@
#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 -r 849a52765263 -r 788e99ac0e24 libexec/rshd/rshd.c
--- a/libexec/rshd/rshd.c Mon Sep 23 03:32:04 2002 +0000
+++ b/libexec/rshd/rshd.c Mon Sep 23 03:32:34 2002 +0000
@@ -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 @@
#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 @@
#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 @@
#include <string.h>
#include <syslog.h>
#include <unistd.h>
+#include <poll.h>
#ifdef LOGIN_CAP
#include <login_cap.h>
#endif
Home |
Main Index |
Thread Index |
Old Index