diff options
author | 2014-10-10 00:39:38 +0000 | |
---|---|---|
committer | 2014-10-10 00:39:38 +0000 | |
commit | 6cc4480dfb952f294a52b17d4cc8981a533aed87 (patch) | |
tree | 0bc481c6ec71670acef7407dfe42907f9bb3df6b | |
parent | add an API version number. ok jsing (diff) | |
download | wireguard-openbsd-6cc4480dfb952f294a52b17d4cc8981a533aed87.tar.xz wireguard-openbsd-6cc4480dfb952f294a52b17d4cc8981a533aed87.zip |
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.c | 11 |
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 |