mac warnings

This commit is contained in:
Russ Cox
2005-11-07 17:34:39 +00:00
parent 494adeed0b
commit 537f761602
9 changed files with 21 additions and 18 deletions

View File

@@ -31,7 +31,7 @@ chantostr(char *buf, ulong cc)
/* avoid pulling in ctype when using with drawterm etc. */
static int
isspace(char c)
xisspace(char c)
{
return c==' ' || c== '\t' || c=='\r' || c=='\n';
}
@@ -45,10 +45,10 @@ strtochan(char *s)
c = 0;
p=s;
while(*p && isspace(*p))
while(*p && xisspace(*p))
p++;
while(*p && !isspace(*p)){
while(*p && !xisspace(*p)){
if((q = strchr(channames, p[0])) == nil)
return 0;
t = q-channames;