summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-01-16 05:21:18 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-01-16 05:21:18 (GMT)
commit518c841e42b1c7ce575398e1ef276fc945642f7e (patch)
treeff9915b5bccc7b101e1b0c402d322a2f9afbc939
parentcdf54898cf20d4f715d03bf129bdc9658d98784b (diff)
downloadmonitoring-plugins-518c841e42b1c7ce575398e1ef276fc945642f7e.tar.gz
restore max() macro
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@243 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/utils.c2
1 files changed, 2 insertions, 0 deletions
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);
65 * Note that numerically the above does not hold 65 * Note that numerically the above does not hold
66 ****************************************************************************/ 66 ****************************************************************************/
67 67
68#define max(a,b) (((a)>(b))?(a):(b))
69
68int 70int
69max_state (int a, int b) 71max_state (int a, int b)
70{ 72{