mac warnings
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user