int tputs(const char *cp, int affcnt, int (*outc)(int ch))
{
- if (cp == (char *) NULL)
+ if (cp == (const char *) NULL)
return (1);
/* Do any padding interpretation - left null for MINIX just now */
while (*cp)
/* Definition and TERM equals "name" then use TERMCAP as the */
/* Definition. Otherwise use "/etc/termcap" as the path name. */
- if ((file = getenv("TERMCAP")) == (char *) NULL)
+ if ((file = getenv("TERMCAP")) == (const char *) NULL)
file = "/etc/termcap";
else if (*file != '/')
if ((term = getenv("TERM")) != (char *) NULL