make things work on SunOS

This commit is contained in:
rsc 2004-04-20 02:03:38 +00:00
parent e637c944fe
commit a0f1e21ff9
19 changed files with 43 additions and 20 deletions

View file

@ -39,7 +39,7 @@ initfsize(void)
fsize['s'] = 4;
fsize['u'] = 2;
fsize['x'] = 2;
};
}
int
fmtsize(Value *v)
@ -1021,7 +1021,7 @@ initexpop(void)
expop[OFMT] = ofmt;
expop[OEVAL] = oeval;
expop[OWHAT] = owhat;
};
}
void
initexpr(void)

View file

@ -52,7 +52,7 @@ initcmap(void)
cmap['v']= '\v'+1;
cmap['\\']= '\\'+1;
cmap['"']= '"'+1;
};
}
void
kinit(void)

View file

@ -30,7 +30,7 @@ initbinop(void)
binop[OCAND]= "&&";
binop[OCOR]= "||";
binop[OASGN]= " = ";
};
}
static char *tabs = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
char *typenames[] = {