summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2014-10-10 00:39:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2014-10-10 00:39:39 +0000
commit423baa818d9c8987ffc86105c0fd78d0915fb818 (patch)
treeb4c7f712a666b07d6b586980024018aa1115a082
parentcde76fda4eceeacbb5049824ea4286ff1e79893d (diff)
Remove unnecessary includes now that we are no longer using select()
(or struct timeval). Instead, we should include time.h for the nanosleep() prototype and struct timespec. OK dlg@
-rw-r--r--lib/libc/termios/tcsendbreak.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libc/termios/tcsendbreak.c b/lib/libc/termios/tcsendbreak.c
index 796684a7881..f9639e33122 100644
--- a/lib/libc/termios/tcsendbreak.c
+++ b/lib/libc/termios/tcsendbreak.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcsendbreak.c,v 1.7 2014/10/09 06:20:01 dlg Exp $ */
+/* $OpenBSD: tcsendbreak.c,v 1.8 2014/10/10 00:39:38 millert Exp $ */
/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,16 +28,9 @@
* SUCH DAMAGE.
*/
-#include <sys/types.h>
#include <sys/ioctl.h>
-#include <sys/tty.h>
-#include <sys/time.h>
-#include <sys/fcntl.h>
-
-#include <errno.h>
-#include <stdio.h>
#include <termios.h>
-#include <unistd.h>
+#include <time.h>
/* ARGSUSED */
int