diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-01-16 05:21:18 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-01-16 05:21:18 +0000 |
commit | 518c841e42b1c7ce575398e1ef276fc945642f7e (patch) | |
tree | ff9915b5bccc7b101e1b0c402d322a2f9afbc939 | |
parent | cdf54898cf20d4f715d03bf129bdc9658d98784b (diff) | |
download | monitoring-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.c | 2 |
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); | |||
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 | |||
68 | int | 70 | int |
69 | max_state (int a, int b) | 71 | max_state (int a, int b) |
70 | { | 72 | { |