Get rid of "s_char". No functional changes.

This commit is contained in:
Marc Olzheim 2005-03-15 20:24:50 +00:00
parent 061e269d37
commit b0671aa5f9

View file

@ -42,15 +42,15 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
s_char *SO = 0; char *SO = 0;
s_char *SE = 0; char *SE = 0;
int tgetent(char *, char *); int tgetent(char *, char *);
static void static void
parsedelay(s_char *r) parsedelay(char *r)
{ {
s_char *s, *t; char *s, *t;
s = r; s = r;
while (isdigit(*s) || (*s == '*') || (*s == '.')) { while (isdigit(*s) || (*s == '*') || (*s == '.')) {
@ -66,13 +66,13 @@ void
getsose(void) getsose(void)
{ {
#ifndef _WIN32 #ifndef _WIN32
extern s_char *tgetstr(char *, char **); extern char *tgetstr(char *, char **);
s_char *cp; char *cp;
s_char *term; char *term;
static s_char tbuf[1024]; static char tbuf[1024];
static s_char cbuf[20]; static char cbuf[20];
memset((s_char *)&cbuf[0], 0, 20); memset(cbuf, 0, 20);
term = getenv("TERM"); term = getenv("TERM");
if (term == 0) { if (term == 0) {
fprintf(stderr, "warning: no TERM environment variable\n"); fprintf(stderr, "warning: no TERM environment variable\n");