Commit 20d04774f4ef3f6e38974636e0e36ae0f0b5501f
Committed by
Wolfgang Denk
1 parent
298e476c66
Exists in
master
and in
54 other branches
Consolidate MAX/MIN definitions
There were several, now there is one (two if you count the lower-case versions). Signed-off-by: Andy Fleming <afleming@freescale.com>
Showing 7 changed files with 3 additions and 22 deletions Side-by-side Diff
board/delta/nand.c
board/zylonite/nand.c
common/cmd_bedbug.c
common/cmd_elf.c
cpu/ixp/npe/include/IxEthDB_p.h
include/common.h
include/usbdcore.h
... | ... | @@ -126,14 +126,6 @@ |
126 | 126 | }) |
127 | 127 | #endif |
128 | 128 | |
129 | -#ifndef MIN | |
130 | -#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
131 | -#endif | |
132 | -#ifndef MAX | |
133 | -#define MAX(a,b) ((a) > (b) ? (a) : (b)) | |
134 | -#endif | |
135 | - | |
136 | - | |
137 | 129 | /* |
138 | 130 | * Structure member address manipulation macros. |
139 | 131 | * These are used by client code (code using the urb_link routines), since |