From ca6c6173fca923cfa1966891fc6623fd9f9cb323 Mon Sep 17 00:00:00 2001 From: timoxd7 Date: Mon, 7 Nov 2022 14:53:12 +0100 Subject: [PATCH] Moved min/max macros from global scope in header file to translation unit exlusice c files --- porting/nimble/include/os/os.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/porting/nimble/include/os/os.h b/porting/nimble/include/os/os.h index ec495df9b..64800956c 100644 --- a/porting/nimble/include/os/os.h +++ b/porting/nimble/include/os/os.h @@ -30,14 +30,6 @@ extern "C" { #define static_assert _Static_assert #endif -#ifndef min -#define min(a, b) ((a)<(b)?(a):(b)) -#endif - -#ifndef max -#define max(a, b) ((a)>(b)?(a):(b)) -#endif - #include "syscfg/syscfg.h" #include "nimble/nimble_npl.h"