summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watch
diff options
context:
space:
mode:
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