aboutsummaryrefslogtreecommitdiffstats
path: root/main/poll.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-28 13:49:46 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-28 13:49:46 +0000
commitc268ce910038d7e233ead13abc31059b020c7cff (patch)
tree0325381f58fd6b2bc0bddffcc3e553dbd4f8ad8e /main/poll.c
parent9d97ef053d49005def4f059e4a0ecdfe0105175d (diff)
Define side-effect-safe MIN and MAX macros and remove duplicate definitions from various files.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209400 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/poll.c')
-rw-r--r--main/poll.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/main/poll.c b/main/poll.c
index bb93125a6..62e681dca 100644
--- a/main/poll.c
+++ b/main/poll.c
@@ -84,14 +84,6 @@
#ifdef AST_POLL_COMPAT
/*---------------------------------------------------------------------------*\
- Macros
-\*---------------------------------------------------------------------------*/
-
-#ifndef MAX
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#endif
-
-/*---------------------------------------------------------------------------*\
Private Functions
\*---------------------------------------------------------------------------*/