[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/coda
On Nov 23, 11:24pm, rmind%netbsd.org@localhost (Mindaugas Rasiukevicius) wrote:
-- Subject: Re: CVS commit: src/sys/coda
| mp = mp == TAILQ_END(&mountlist) ? NULL : mp;
| return mp;
| Everybody understood NULL, so why obfuscate the code?
The point (as I understand it) is so that if you want to change to another
ADT where end != NULL (are there any now, that we have banned CIRCLEQ?)
using the END macro lets you s/FOOQ/BARQ/ and have it mostly work.
Main Index |
Thread Index |