SunOS can rot in hell.

This commit is contained in:
rsc 2004-03-26 01:59:35 +00:00
parent 4e3a2cc1f9
commit be22ae2d07
52 changed files with 211 additions and 160 deletions

View file

@ -216,10 +216,9 @@ void Updenv(void){
}
*/
int
cmpenv(a, b)
char **a, **b;
cmpenv(const void *a, const void *b)
{
return strcmp(*a, *b);
return strcmp(*(char**)a, *(char**)b);
}
char **mkenv(){
register char **env, **ep, *p, *q;
@ -462,7 +461,7 @@ void Noerror(void){
interrupted=0;
}
int
Isatty(fd){
Isatty(int fd){
return isatty(fd);
}
void Abort(void){