From: Karl DeBisschop Date: Thu, 16 Jan 2003 05:21:18 +0000 (+0000) Subject: restore max() macro X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=518c841e42b1c7ce575398e1ef276fc945642f7e;p=nagiosplug.git restore max() macro git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@243 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/utils.c b/plugins/utils.c index 474206b..aaa9fe5 100644 --- a/plugins/utils.c +++ b/plugins/utils.c @@ -65,6 +65,8 @@ char *strpcat (char *dest, const char *src, const char *str); * Note that numerically the above does not hold ****************************************************************************/ +#define max(a,b) (((a)>(b))?(a):(b)) + int max_state (int a, int b) {