sunos fixes

This commit is contained in:
rsc 2005-01-07 07:47:37 +00:00
parent 190857f93e
commit c345061e8d
13 changed files with 14 additions and 14 deletions

View file

@ -78,7 +78,6 @@ dofmt(Fmt *f, char *fmt)
if(fmt == nil)
return -1;
}
return 0; /* not reached */
}
void *

View file

@ -377,7 +377,6 @@ fpcmp(char *a, ulong* f)
a++;
cont:;
}
return 0;
}
static void

View file

@ -100,7 +100,6 @@ canrlock(RWLock *l)
l->readers++;
return 1;
}
return 1;
}
void

View file

@ -34,5 +34,4 @@ utflen(char *s)
s += chartorune(&rune, s);
n++;
}
return 0;
}

View file

@ -42,5 +42,4 @@ utfrrune(char *s, long c)
s1 = s;
s += c1;
}
return 0;
}

View file

@ -41,5 +41,4 @@ utfrune(char *s, long c)
return s;
s += n;
}
return 0;
}