aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_usbradio.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 /channels/chan_usbradio.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 'channels/chan_usbradio.c')
-rw-r--r--channels/chan_usbradio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/channels/chan_usbradio.c b/channels/chan_usbradio.c
index b8e9d70a9..dd1933483 100644
--- a/channels/chan_usbradio.c
+++ b/channels/chan_usbradio.c
@@ -351,13 +351,6 @@ END_CONFIG
#define DEV_DSP "/dev/dsp"
#endif
-#ifndef MIN
-#define MIN(a,b) ((a) < (b) ? (a) : (b))
-#endif
-#ifndef MAX
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#endif
-
static char *config = "usbradio.conf"; /* default config file */
static char *config1 = "usbradio_tune_%s.conf"; /* tune config file */