summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-06 20:45:40 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-06 20:46:34 -0700
commit3d58c22c4c2729d52b5278c0e6350c0f9f44cfa8 (patch)
treef769f84130a2b18a71320d2d0deea38b6abff273
parent3e6d23bb9d57ae3d19e9eb47ced654669fca4d7c (diff)
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 <alan.coopersmith@oracle.com>
-rw-r--r--math.c3
1 files changed, 1 insertions, 2 deletions
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