aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-01-16 05:21:18 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-01-16 05:21:18 +0000
commit518c841e42b1c7ce575398e1ef276fc945642f7e (patch)
treeff9915b5bccc7b101e1b0c402d322a2f9afbc939 /plugins
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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/utils.c b/plugins/utils.c
index 474206b9..aaa9fe5a 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)
{