built_in: Add min_t() and max_t() macros and use them
commit98c15cbb658f226d52108ea2cb5b3bc27bc6a977
authorTobias Klauser <tklauser@distanz.ch>
Fri, 2 Aug 2013 13:10:20 +0000 (2 15:10 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 2 Aug 2013 13:12:29 +0000 (2 15:12 +0200)
tree74a1e2b730676a26ebf6ff9d6487e6dfc5ef012b
parentc95c515fa9075443900734039cfd7f92b5ba832f
built_in: Add min_t() and max_t() macros and use them

Introduce non-typechecking versions of min_t() and max_t() and use them
where a cast would be needed.

The macros were taken from the Linux Kernel, release under GPL v2.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
built_in.h
geoip.c
mac80211.c
proto_ipv4.c