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:
Eric S. Raymond 2017-06-12 17:33:21 -04:00
parent 66c22301ed
commit a044f10411
2 changed files with 4 additions and 7 deletions

5
misc.c
View file

@ -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 */