aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/window/ttoutput.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-04-14 06:39:19 +0000
committerWarner Losh <imp@FreeBSD.org>2000-04-14 06:39:19 +0000
commit0e7f0658ee332137472cd83786ae89e5d8a7477d (patch)
tree0dbcf280261fef1536f251bdab420f263ffb9846 /usr.bin/window/ttoutput.c
parent37736675d1690425bccb9b2ba5f935f456888bc3 (diff)
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
Notes
Notes: svn path=/head/; revision=59217
Diffstat (limited to 'usr.bin/window/ttoutput.c')
-rw-r--r--usr.bin/window/ttoutput.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/window/ttoutput.c b/usr.bin/window/ttoutput.c
index 5c582d6b24fe..6a2a36e1c1b3 100644
--- a/usr.bin/window/ttoutput.c
+++ b/usr.bin/window/ttoutput.c
@@ -32,6 +32,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#ifndef lint
@@ -40,7 +42,7 @@ static char sccsid[] = "@(#)ttoutput.c 8.1 (Berkeley) 6/6/93";
#include "ww.h"
#include "tt.h"
-#include <sys/errno.h>
+#include <errno.h>
/*
* Buffered output package.
@@ -51,7 +53,6 @@ ttflush()
{
register char *p;
register n = tt_obp - tt_ob;
- extern errno;
if (n == 0)
return;