summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-01-17 16:35:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-01-17 16:35:07 +0000
commit0bb6090ecbca481fd87a7d53c68e42936293e41b (patch)
tree3dd65a8fdee8db5988150e4dce6d7ac7159e469e /lib
parentfc75df79b339ce5f679b6cdb5395378328fd8510 (diff)
-Wall
Diffstat (limited to 'lib')
-rw-r--r--lib/libtermlib/fillcap.c5
-rw-r--r--lib/libtermlib/getterm.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libtermlib/fillcap.c b/lib/libtermlib/fillcap.c
index 5f364a5d006..0b3ce2b26ff 100644
--- a/lib/libtermlib/fillcap.c
+++ b/lib/libtermlib/fillcap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fillcap.c,v 1.3 1996/12/16 16:53:41 deraadt Exp $ */
+/* $OpenBSD: fillcap.c,v 1.4 1998/01/17 16:35:05 millert Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,10 +31,11 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: fillcap.c,v 1.3 1996/12/16 16:53:41 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fillcap.c,v 1.4 1998/01/17 16:35:05 millert Exp $";
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "term.h"
#include "term.private.h"
diff --git a/lib/libtermlib/getterm.c b/lib/libtermlib/getterm.c
index ea4b8185a1f..d9b6ee77376 100644
--- a/lib/libtermlib/getterm.c
+++ b/lib/libtermlib/getterm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getterm.c,v 1.15 1998/01/17 16:20:29 millert Exp $ */
+/* $OpenBSD: getterm.c,v 1.16 1998/01/17 16:35:06 millert Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,9 +31,10 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: getterm.c,v 1.15 1998/01/17 16:20:29 millert Exp $";
+static char rcsid[] = "$OpenBSD: getterm.c,v 1.16 1998/01/17 16:35:06 millert Exp $";
#endif
+#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>