summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-05-26 10:28:19 +0300
committerToomas Soome <tsoome@me.com>2021-01-12 21:10:04 +0200
commit71f73b0075fdda332f0e079884f3aa28497b0806 (patch)
tree96400a77e63635e8a24f651f663bb43f8a5e0a45
parent2cbc828d66d6088914f685ae0e77169ecc9fc7f9 (diff)
downloadillumos-joyent-71f73b0075fdda332f0e079884f3aa28497b0806.tar.gz
13414 libcurses: symbol '_win' is multiply-defined
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/ucblib/libcurses/cr_put.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/usr/src/ucblib/libcurses/cr_put.c b/usr/src/ucblib/libcurses/cr_put.c
index ba71354053..7eb6fcc59b 100644
--- a/usr/src/ucblib/libcurses/cr_put.c
+++ b/usr/src/ucblib/libcurses/cr_put.c
@@ -4,7 +4,7 @@
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
-/* All Rights Reserved */
+/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
@@ -12,15 +12,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-
-#ifndef lint
-static char
-sccsid[] = "@(#)cr_put.c 1.7 89/03/27 SMI"; /* from UCB 5.1 85/06/07 */
-#endif /* not lint */
-
#include <string.h>
#include "curses.ext"
#include <term.h>
@@ -51,14 +42,14 @@ int tabcol(int, int);
static int outcol, outline, destcol, destline;
-WINDOW *_win;
+extern WINDOW *_win;
int
mvcur(int ly, int lx, int y, int x)
{
#ifdef DEBUG
fprintf(outf, "MVCUR: moving cursor from (%d,%d) to (%d,%d)\n",
- ly, lx, y, x);
+ ly, lx, y, x);
#endif
destcol = x;
destline = y;