commit | 6bcee414a487024e7865fb29d4e583870406d914 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Sat Mar 12 19:58:09 2016 +0100 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:37 2016 +0100 |
tree | ae207533d9edeaec7277a2a3ae4768586e04879e | |
parent | 921936652359fe72728eb196aa9107310f02a4d4 [diff] |
lib: fix MIN/MAX macros to not double-eval cf. https://gcc.gnu.org/onlinedocs/gcc/Typeof.html (Works on all compilers on Quagga's compiler support list in doc/overview.texi) Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Tested-by: NetDEF CI System <cisystem@netdef.org> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>