Turn MOD from function to macro.
I experimented with expanding it to ((N % M) everywhere, but in context the MOD(N, M) notation seems easier to read.
This commit is contained in:
parent
66c22301ed
commit
a044f10411
2 changed files with 4 additions and 7 deletions
5
misc.c
5
misc.c
|
@ -698,7 +698,4 @@ void DATIME(long* d, long* t)
|
|||
*t = (long) tv.tv_usec;
|
||||
}
|
||||
|
||||
long MOD(long n, long m)
|
||||
{
|
||||
return(n%m);
|
||||
}
|
||||
/* end */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue