summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail/read.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-09-29 12:31:28 +0000
committerotto <otto@openbsd.org>2007-09-29 12:31:28 +0000
commita727fb03961e9416053cb934a727a917ec850bc6 (patch)
treea78961c9227222ea154638cf1f6d577203050530 /usr.bin/tail/read.c
parentsimple refactoring: replace convoluted code with simple equivalent test (diff)
downloadwireguard-openbsd-a727fb03961e9416053cb934a727a917ec850bc6.tar.xz
wireguard-openbsd-a727fb03961e9416053cb934a727a917ec850bc6.zip
unneeded includes and whitespace police; from Igor Zinovik
Diffstat (limited to 'usr.bin/tail/read.c')
-rw-r--r--usr.bin/tail/read.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/tail/read.c b/usr.bin/tail/read.c
index 7f3b4567353..2ad182787ad 100644
--- a/usr.bin/tail/read.c
+++ b/usr.bin/tail/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.11 2007/09/16 18:07:40 otto Exp $ */
+/* $OpenBSD: read.c,v 1.12 2007/09/29 12:31:28 otto Exp $ */
/* $NetBSD: read.c,v 1.4 1994/11/23 07:42:07 jtc Exp $ */
/*-
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: read.c,v 1.11 2007/09/16 18:07:40 otto Exp $";
+static char rcsid[] = "$OpenBSD: read.c,v 1.12 2007/09/29 12:31:28 otto Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -45,8 +45,6 @@ static char rcsid[] = "$OpenBSD: read.c,v 1.11 2007/09/16 18:07:40 otto Exp $";
#include <sys/limits.h>
#include <err.h>
-#include <errno.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>