Remove some redundant parenthesis; no functional change.

This commit is contained in:
Markus Armbruster 2005-07-23 19:48:35 +00:00
parent 4861f837fb
commit 380b063f9c
41 changed files with 134 additions and 134 deletions

View file

@ -405,19 +405,19 @@ io_noblocking(struct iop *iop, int value)
int
io_conn(struct iop *iop)
{
return (iop->flags & IO_CONN);
return iop->flags & IO_CONN;
}
int
io_error(struct iop *iop)
{
return (iop->flags & IO_ERROR);
return iop->flags & IO_ERROR;
}
int
io_eof(struct iop *iop)
{
return (iop->flags & IO_EOF);
return iop->flags & IO_EOF;
}
int

View file

@ -37,23 +37,23 @@
s_char *
plur(int n, s_char *no, s_char *yes)
{
return (n == 1 ? no : yes);
return n == 1 ? no : yes;
}
s_char *
splur(int n)
{
return (n == 1 ? "" : "s");
return n == 1 ? "" : "s";
}
s_char *
esplur(int n)
{
return (n == 1 ? "" : "es");
return n == 1 ? "" : "es";
}
s_char *
iesplur(int n)
{
return (n == 1 ? "y" : "ies");
return n == 1 ? "y" : "ies";
}

View file

@ -39,7 +39,7 @@ roundintby(int n, int m)
register int r11;
r11 = (m >> 1) + n;
return (r11 / m * m);
return r11 / m * m;
}
int
@ -48,5 +48,5 @@ ldround(double a4, int ac)
int f4;
f4 = ac / 2.0 + a4;
return (f4 / ac * ac);
return f4 / ac * ac;
}

View file

@ -40,5 +40,5 @@ scthash(int x, int y, int tsize)
x = -x;
if (y < 0)
y = -y;
return ((x * 10 + y) % tsize);
return (x * 10 + y) % tsize;
}