summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libtermlib/globals.c6
-rw-r--r--lib/libtermlib/tparm.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/libtermlib/globals.c b/lib/libtermlib/globals.c
index 7e96e9ea552..33197ce30e8 100644
--- a/lib/libtermlib/globals.c
+++ b/lib/libtermlib/globals.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: globals.c,v 1.2 1996/08/31 02:40:30 tholo Exp $ */
+/* $OpenBSD: globals.c,v 1.3 1996/09/16 02:41:53 tholo Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,13 +31,13 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: globals.c,v 1.2 1996/08/31 02:40:30 tholo Exp $";
+static char rcsid[] = "$OpenBSD: globals.c,v 1.3 1996/09/16 02:41:53 tholo Exp $";
#endif
#include "term.h"
TERMINAL _ti_empty = {
- -1, 9600, {}, {}, "dumb", {}, { 80, 0, 24 }, {}
+ -1, 9600, { 0 }, { 0 }, "dumb", { 0 }, { 80, 0, 24 }, { 0 }
};
TERMINAL *cur_term = &_ti_empty;
diff --git a/lib/libtermlib/tparm.c b/lib/libtermlib/tparm.c
index 6e163dbfd5a..a8c8d262181 100644
--- a/lib/libtermlib/tparm.c
+++ b/lib/libtermlib/tparm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tparm.c,v 1.2 1996/06/02 23:47:51 tholo Exp $ */
+/* $OpenBSD: tparm.c,v 1.3 1996/09/16 02:41:53 tholo Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tparm.c,v 1.2 1996/06/02 23:47:51 tholo Exp $";
+static char rcsid[] = "$OpenBSD: tparm.c,v 1.3 1996/09/16 02:41:53 tholo Exp $";
#endif
#include <stdio.h>
@@ -345,9 +345,11 @@ tparm(va_alist)
va_start(ap);
str = va_arg(ap, const char *);
#else
+ /* LINTED pointer casts may be troublesome */
va_start(ap, str);
#endif
p = _tparm(str, buf, ap);
+ /* LINTED expression has no effect */
va_end(ap);
return(p);
}