Get rid of "s_char". No functional changes.
This commit is contained in:
parent
061e269d37
commit
b0671aa5f9
1 changed files with 10 additions and 10 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue