Turn MOD from function to macro.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 12 Jun 2017 21:33:21 +0000 (17:33 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 12 Jun 2017 21:33:21 +0000 (17:33 -0400)
commita044f10411cac5c530a19a66b7252110d5d1ca0f
tree77f76c89aea5cc1e5e0fdccd8da8ebbf0db455c7
parent66c22301edf3126e7525e1c52efdde8fb69e0257
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.
advent.h
misc.c