mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-20 00:10:09 -05:00
add min() macro to complement max()
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@699 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
0a7123641f
commit
a2c0d2b629
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ void usage3(const char *msg, int arg) __attribute__((noreturn));
|
|||
const char *state_text (int result);
|
||||
|
||||
#define max(a,b) (((a)>(b))?(a):(b))
|
||||
#define min(a,b) (((a)<(b))?(a):(b))
|
||||
|
||||
char *perfdata (const char *label,
|
||||
long int val,
|
||||
|
|
|
|||
Loading…
Reference in a new issue