summaryrefslogtreecommitdiff
path: root/usr.bin/more
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-01 03:24:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-01 03:24:15 +0000
commit376a7976c0a22002c6750673c39178e703bed58b (patch)
tree3b4a8322b9b5e1e7e175d003e4ecf149fba0ce24 /usr.bin/more
parent28d59da957500734c9a5139d0d9bd7eea82eb36d (diff)
no need to extern int errno if errno.h is included
Diffstat (limited to 'usr.bin/more')
-rw-r--r--usr.bin/more/more.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/more/more.c b/usr.bin/more/more.c
index b8b49c9645f..ab6f546ad7d 100644
--- a/usr.bin/more/more.c
+++ b/usr.bin/more/more.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: more.c,v 1.10 1999/08/17 09:13:16 millert Exp $ */
+/* $OpenBSD: more.c,v 1.11 2000/02/01 03:23:34 deraadt Exp $ */
/*-
* Copyright (c) 1980 The Regents of the University of California.
* All rights reserved.
@@ -1634,7 +1634,6 @@ retry:
readch ()
{
char ch;
- extern int errno;
errno = 0;
if (read (2, &ch, 1) <= 0)