diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-06 20:45:40 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-06 20:46:34 -0700 |
commit | 3d58c22c4c2729d52b5278c0e6350c0f9f44cfa8 (patch) | |
tree | f769f84130a2b18a71320d2d0deea38b6abff273 /math.c | |
parent | 3e6d23bb9d57ae3d19e9eb47ced654669fca4d7c (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>
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |