From 3d58c22c4c2729d52b5278c0e6350c0f9f44cfa8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 6 Jul 2013 20:45:40 -0700 Subject: Remove unused min & max macros from math.c Flagged by clang: math.c:33:9: warning: macro is not used [-Wunused-macros] #define min(a,b) ((a) < (b) ? (a) : (b)) ^ math.c:34:9: warning: macro is not used [-Wunused-macros] #define max(a,b) ((a) > (b) ? (a) : (b)) ^ Signed-off-by: Alan Coopersmith --- math.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'math.c') diff --git a/math.c b/math.c index 63e24b2..de33f7e 100644 --- a/math.c +++ b/math.c @@ -30,8 +30,7 @@ #define DEG 0 /* DRG mode. used for trig calculations */ #define RAD 1 #define GRAD 2 -#define min(a,b) ((a) < (b) ? (a) : (b)) -#define max(a,b) ((a) > (b) ? (a) : (b)) + #define True 1 #define False 0 -- cgit v1.2.3