Define side-effect-safe MIN and MAX macros and remove duplicate definitions from various files.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2009-07-28 13:49:46 +00:00
parent b3090ee28a
commit ba020fc390
7 changed files with 5 additions and 36 deletions

View File

@@ -83,14 +83,6 @@
#ifdef AST_POLL_COMPAT
/*---------------------------------------------------------------------------*\
Macros
\*---------------------------------------------------------------------------*/
#ifndef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
/*---------------------------------------------------------------------------*\
Private Functions
\*---------------------------------------------------------------------------*/