Always use our own `setupterm' for compatibility reasons.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1735 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-19 00:33:40 +00:00
parent 690fcf3eb8
commit 16da228f28

View File

@@ -628,8 +628,7 @@ is_unique(char *name, char **as, char **ae)
return (1);
}
#ifndef HAVE_SETUPTERM
char termbuf[1024];
static char termbuf[1024];
static int
setupterm(char *tname, int fd, int *errp)
@@ -644,10 +643,6 @@ setupterm(char *tname, int fd, int *errp)
*errp = 0;
return(-1);
}
#else
#define termbuf ttytype
extern char ttytype[];
#endif
int resettermname = 1;