summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-19 04:44:07 +0000
committerbde <bde@FreeBSD.org>1997-03-19 04:44:07 +0000
commit5350fb0d8ba5d5120d25ecf3c3e81fa37926c079 (patch)
tree686e01ed8ac88925f37afeae6cf22a955cb1abe8 /usr.sbin/watch
parent9af964caefff7269f6ad96695c11696a735a276e (diff)
downloadFreeBSD-src-5350fb0d8ba5d5120d25ecf3c3e81fa37926c079.zip
FreeBSD-src-5350fb0d8ba5d5120d25ecf3c3e81fa37926c079.tar.gz
Removed old bogus prerequisite <sys/select.h>. Cleaned up #include mess.
Diffstat (limited to 'usr.sbin/watch')
-rw-r--r--usr.sbin/watch/watch.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/usr.sbin/watch/watch.c b/usr.sbin/watch/watch.c
index 6d47481..e215ac8 100644
--- a/usr.sbin/watch/watch.c
+++ b/usr.sbin/watch/watch.c
@@ -13,22 +13,21 @@
* Snoop stuff.
*/
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <string.h>
-#include <termcap.h>
-#include <termios.h>
-#include <locale.h>
#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/select.h>
#include <sys/fcntl.h>
#include <sys/filio.h>
#include <sys/snoop.h>
+#include <sys/stat.h>
+
+#include <locale.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sysexits.h>
+#include <termcap.h>
+#include <termios.h>
+#include <unistd.h>
#define MSG_INIT "Snoop started."
#define MSG_OFLOW "Snoop stopped due to overflow. Reconnecting."
OpenPOWER on IntegriCloud