diff options
| author | scw <scw@NetBSD.org> | 2000-12-13 22:14:40 +0000 |
|---|---|---|
| committer | scw <scw@NetBSD.org> | 2000-12-13 22:14:40 +0000 |
| commit | 71ce3fbb0f78d5c6b075c4e6a9fabf1bd037744f (patch) | |
| tree | 1b0af1903b3cdccb11c59e78dd6066fd990abc19 /lib/libterm | |
| parent | 41f8bfbc996b9a5b62aaa605ffe1ad7169de648b (diff) | |
No need to initialise globals BC and UP to NULL; this happens anyway
for BSS variables.
(Quells a linker warning on m68k because BC and UP are also declared
but not initialised in libcurses/curses.c)
Diffstat (limited to 'lib/libterm')
| -rw-r--r-- | lib/libterm/tgoto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libterm/tgoto.c b/lib/libterm/tgoto.c index f043d759443..066143f3c8d 100644 --- a/lib/libterm/tgoto.c +++ b/lib/libterm/tgoto.c @@ -1,4 +1,4 @@ -/* $NetBSD: tgoto.c,v 1.17 2000/06/03 07:14:55 blymn Exp $ */ +/* $NetBSD: tgoto.c,v 1.18 2000/12/13 22:14:40 scw Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)tgoto.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: tgoto.c,v 1.17 2000/06/03 07:14:55 blymn Exp $"); +__RCSID("$NetBSD: tgoto.c,v 1.18 2000/12/13 22:14:40 scw Exp $"); #endif #endif /* not lint */ @@ -52,8 +52,8 @@ __RCSID("$NetBSD: tgoto.c,v 1.17 2000/06/03 07:14:55 blymn Exp $"); #define MAXRETURNSIZE 64 -char *UP = NULL; -char *BC = NULL; +char *UP; +char *BC; /* * Routine to perform cursor addressing. |
