summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-06-18 20:39:37 +0000
committertholo <tholo@openbsd.org>1996-06-18 20:39:37 +0000
commit2217f3c088b33f073c3c1caf44cf2b160973b3df (patch)
tree52b8bfa0fd8ff3095670340b0fb83f3ac3cbca84
parentAlso emulate old ttytype[] behaviour. Strip off any obsolete 2-character (diff)
downloadwireguard-openbsd-2217f3c088b33f073c3c1caf44cf2b160973b3df.tar.xz
wireguard-openbsd-2217f3c088b33f073c3c1caf44cf2b160973b3df.zip
Our terminfo emulation library now supports ttytype[], no need to special-
case this anymore
-rw-r--r--lib/libcurses/lib_longname.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libcurses/lib_longname.c b/lib/libcurses/lib_longname.c
index d9883ae3d50..b7fcde3e4ff 100644
--- a/lib/libcurses/lib_longname.c
+++ b/lib/libcurses/lib_longname.c
@@ -37,9 +37,6 @@
char *
longname(void)
{
-#ifdef EXTERN_TERMINFO
- return cur_term->name;
-#else
char *ptr;
T(("longname() called"));
@@ -49,5 +46,4 @@ char *ptr;
return(ptr + 1);
return(ttytype);
-#endif
}