Commit 998a7d33 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

cleanup: Remove duplicate MIN/MAX macros.

parent 669f95e6
...@@ -951,9 +951,6 @@ static char next_char(void) ...@@ -951,9 +951,6 @@ static char next_char(void)
#define unput() if (lexer.curr_pos < lexer.end_pos) --lexer.curr_pos #define unput() if (lexer.curr_pos < lexer.end_pos) --lexer.curr_pos
#undef MIN
#define MIN(a, b) (a) < (b) ? (a) : (b)
/** /**
* The lexer. * The lexer.
*/ */
......
...@@ -39,10 +39,7 @@ ...@@ -39,10 +39,7 @@
/** The debug handle. */ /** The debug handle. */
DEBUG_ONLY(static firm_dbg_module_t *dbg;) DEBUG_ONLY(static firm_dbg_module_t *dbg;)
#undef IMAX #define MAX_PROJ MAX(MAX((long)pn_Load_max, (long)pn_Store_max), (long)pn_Call_max)
#define IMAX(a,b) ((a) > (b) ? (a) : (b))
#define MAX_PROJ IMAX(IMAX((long)pn_Load_max, (long)pn_Store_max), (long)pn_Call_max)
enum changes_t { enum changes_t {
DF_CHANGED = 1, /**< data flow changed */ DF_CHANGED = 1, /**< data flow changed */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment