From df102d1f0658345d78ea351403734bac5dbfff58 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 1 Feb 2023 05:56:08 +0800 Subject: [PATCH] Remove OK macro from the code base let's use OK from sys/types.h instead Signed-off-by: Xiang Xiao --- arch/arm/src/armv7-a/arm_l2cc_pl310.c | 6 ------ arch/arm/src/armv7-r/arm_l2cc_pl310.c | 6 ------ arch/arm/src/s32k1xx/s32k1xx_clockconfig.c | 6 ------ arch/arm/src/samd2l2/sam_lowputc.c | 4 ---- arch/arm/src/samd5e5/sam_lowputc.c | 4 ---- arch/risc-v/src/mpfs/mpfs_corepwm.c | 4 ---- arch/risc-v/src/mpfs/mpfs_ethernet.c | 4 ---- boards/arm/a1x/pcduino-a10/src/a1x_appinit.c | 5 +---- boards/arm/am335x/beaglebone-black/src/am335x_appinit.c | 5 +---- boards/arm/cxd56xx/spresense/src/cxd56_appinit.c | 5 +---- boards/arm/dm320/ntosd-dm320/src/dm320_appinit.c | 5 +---- boards/arm/kinetis/freedom-k28f/src/k28_appinit.c | 4 ---- boards/arm/kinetis/freedom-k64f/src/k64_uid.c | 5 +---- .../arm/lpc17xx_40xx/lpc4088-devkit/src/lpc17_40_appinit.c | 5 +---- .../lpc17xx_40xx/lpc4088-quickstart/src/lpc17_40_appinit.c | 5 +---- boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_appinit.c | 5 +---- boards/arm/lpc17xx_40xx/mcb1700/src/lpc17_40_appinit.c | 5 +---- boards/arm/lpc17xx_40xx/open1788/src/lpc17_40_appinit.c | 5 +---- boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_appinit.c | 5 +---- boards/arm/rp2040/pimoroni-tiny2040/src/rp2040_appinit.c | 6 ++---- boards/arm/rp2040/raspberrypi-pico-w/src/rp2040_appinit.c | 6 ++---- boards/arm/rp2040/raspberrypi-pico/src/rp2040_appinit.c | 6 ++---- .../rp2040/waveshare-rp2040-lcd-1.28/src/rp2040_appinit.c | 6 ++---- boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_appinit.c | 5 +---- boards/arm/s32k1xx/s32k118evb/src/s32k1xx_appinit.c | 5 +---- boards/arm/s32k1xx/s32k144evb/src/s32k1xx_appinit.c | 5 +---- boards/arm/s32k1xx/s32k146evb/src/s32k1xx_appinit.c | 5 +---- boards/arm/s32k1xx/s32k148evb/src/s32k1xx_appinit.c | 5 +---- boards/arm/s32k1xx/ucans32k146/src/s32k1xx_appinit.c | 5 +---- boards/arm/sam34/arduino-due/src/sam_appinit.c | 5 +---- boards/arm/sam34/flipnclick-sam3x/src/sam_appinit.c | 5 +---- boards/arm/sam34/sam3u-ek/src/sam_mmcsd.c | 5 +---- boards/arm/samd5e5/metro-m4/src/sam_appinit.c | 5 +---- boards/arm/samd5e5/same54-xplained-pro/src/sam_appinit.c | 5 +---- boards/arm/stm32/axoloti/src/stm32_appinit.c | 5 +---- boards/arm/stm32/b-g431b-esc1/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-f103rb/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-f207zg/src/stm32_appinitialize.c | 5 +---- boards/arm/stm32/nucleo-f302r8/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-f303re/src/stm32_uid.c | 5 +---- boards/arm/stm32/nucleo-f303ze/src/stm32_appinitialize.c | 5 +---- boards/arm/stm32/nucleo-f410rb/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-f446re/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-f4x1re/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-g431kb/src/stm32_appinit.c | 5 +---- boards/arm/stm32/nucleo-g431rb/src/stm32_appinit.c | 5 +---- boards/arm/stm32/olimex-stm32-e407/src/stm32_appinit.c | 5 +---- boards/arm/stm32/omnibusf4/src/stm32_appinit.c | 5 +---- boards/arm/stm32/omnibusf4/src/stm32_uid.c | 5 +---- boards/arm/stm32/stm3210e-eval/src/stm32_appinit.c | 5 +---- boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c | 5 +---- boards/arm/stm32/stm32f3discovery/src/stm32_appinit.c | 5 +---- boards/arm/stm32/stm32f4discovery/src/stm32_appinit.c | 5 +---- boards/arm/stm32/stm32f4discovery/src/stm32_uid.c | 5 +---- boards/arm/stm32/stm32vldiscovery/src/stm32_appinit.c | 5 +---- boards/arm/stm32/viewtool-stm32f107/src/stm32_appinit.c | 5 +---- boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_appinit.c | 4 ---- boards/arm/stm32h7/nucleo-h743zi/src/stm32_appinitialize.c | 5 +---- boards/arm/stm32h7/nucleo-h743zi/src/stm32_pwm.c | 2 -- boards/arm/stm32h7/nucleo-h743zi/src/stm32_uid.c | 5 +---- .../arm/stm32h7/stm32h747i-disco/src/stm32_appinitialize.c | 5 +---- boards/arm/stm32h7/stm32h747i-disco/src/stm32_uid.c | 5 +---- boards/or1k/mor1kx/or1k/src/or1k_appinit.c | 5 +---- boards/z16/z16f/z16f2800100zcog/src/z16f_appinit.c | 5 +---- boards/z80/ez80/makerlisp/src/ez80_appinit.c | 5 +---- boards/z80/ez80/z20x/src/ez80_appinit.c | 5 +---- 66 files changed, 60 insertions(+), 268 deletions(-) diff --git a/arch/arm/src/armv7-a/arm_l2cc_pl310.c b/arch/arm/src/armv7-a/arm_l2cc_pl310.c index eaf95d6692..1dba68fc14 100644 --- a/arch/arm/src/armv7-a/arm_l2cc_pl310.c +++ b/arch/arm/src/armv7-a/arm_l2cc_pl310.c @@ -223,12 +223,6 @@ #define PL310_GULP_SIZE 4096 -/* Misc commoly defined and re-defined things */ - -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/arch/arm/src/armv7-r/arm_l2cc_pl310.c b/arch/arm/src/armv7-r/arm_l2cc_pl310.c index 937a63f918..fb1bd8d4a8 100644 --- a/arch/arm/src/armv7-r/arm_l2cc_pl310.c +++ b/arch/arm/src/armv7-r/arm_l2cc_pl310.c @@ -223,12 +223,6 @@ #define PL310_GULP_SIZE 4096 -/* Misc commoly defined and re-defined things */ - -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/arch/arm/src/s32k1xx/s32k1xx_clockconfig.c b/arch/arm/src/s32k1xx/s32k1xx_clockconfig.c index 37f99dda0b..7ec4b1f79a 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_clockconfig.c +++ b/arch/arm/src/s32k1xx/s32k1xx_clockconfig.c @@ -120,12 +120,6 @@ #define SCG_SPLL_REF_MIN 8000000 #define SCG_SPLL_REF_MAX 32000000 -/* Power management definitions */ - -#ifndef OK -#define OK 0 -#endif - /**************************************************************************** * Private Function Declarations ****************************************************************************/ diff --git a/arch/arm/src/samd2l2/sam_lowputc.c b/arch/arm/src/samd2l2/sam_lowputc.c index f393516063..72b5beb8dc 100644 --- a/arch/arm/src/samd2l2/sam_lowputc.c +++ b/arch/arm/src/samd2l2/sam_lowputc.c @@ -54,10 +54,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Private Data ****************************************************************************/ diff --git a/arch/arm/src/samd5e5/sam_lowputc.c b/arch/arm/src/samd5e5/sam_lowputc.c index 7268e49467..16a5343da4 100644 --- a/arch/arm/src/samd5e5/sam_lowputc.c +++ b/arch/arm/src/samd5e5/sam_lowputc.c @@ -44,10 +44,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Private Data ****************************************************************************/ diff --git a/arch/risc-v/src/mpfs/mpfs_corepwm.c b/arch/risc-v/src/mpfs/mpfs_corepwm.c index 7ec4ae48c9..1734c6d610 100644 --- a/arch/risc-v/src/mpfs/mpfs_corepwm.c +++ b/arch/risc-v/src/mpfs/mpfs_corepwm.c @@ -49,10 +49,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /* This module only compiles if at least one CorePWM instance * is configured to the FPGA */ diff --git a/arch/risc-v/src/mpfs/mpfs_ethernet.c b/arch/risc-v/src/mpfs/mpfs_ethernet.c index 0d4a56411f..1ce267f07f 100644 --- a/arch/risc-v/src/mpfs/mpfs_ethernet.c +++ b/arch/risc-v/src/mpfs/mpfs_ethernet.c @@ -55,10 +55,6 @@ #if defined(CONFIG_NET) && defined(CONFIG_MPFS_ETHMAC) -#ifndef OK -# define OK 0 -#endif - #define MPFS_PMPCFG_ETH0_0 (MPFS_MPUCFG_BASE + 0x400) #define MPFS_PMPCFG_ETH0_1 (MPFS_MPUCFG_BASE + 0x408) #define MPFS_PMPCFG_ETH0_2 (MPFS_MPUCFG_BASE + 0x410) diff --git a/boards/arm/a1x/pcduino-a10/src/a1x_appinit.c b/boards/arm/a1x/pcduino-a10/src/a1x_appinit.c index da0c2795bf..b9bee42b0b 100644 --- a/boards/arm/a1x/pcduino-a10/src/a1x_appinit.c +++ b/boards/arm/a1x/pcduino-a10/src/a1x_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include @@ -34,10 +35,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/am335x/beaglebone-black/src/am335x_appinit.c b/boards/arm/am335x/beaglebone-black/src/am335x_appinit.c index 637bd8fb9e..6593b1030b 100644 --- a/boards/arm/am335x/beaglebone-black/src/am335x_appinit.c +++ b/boards/arm/am335x/beaglebone-black/src/am335x_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "beaglebone-black.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/cxd56xx/spresense/src/cxd56_appinit.c b/boards/arm/cxd56xx/spresense/src/cxd56_appinit.c index d0b88ba21b..ac48300c41 100644 --- a/boards/arm/cxd56xx/spresense/src/cxd56_appinit.c +++ b/boards/arm/cxd56xx/spresense/src/cxd56_appinit.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "spresense.h" @@ -33,10 +34,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/dm320/ntosd-dm320/src/dm320_appinit.c b/boards/arm/dm320/ntosd-dm320/src/dm320_appinit.c index 2704612f5a..8776846ca5 100644 --- a/boards/arm/dm320/ntosd-dm320/src/dm320_appinit.c +++ b/boards/arm/dm320/ntosd-dm320/src/dm320_appinit.c @@ -24,16 +24,13 @@ #include +#include #include /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/kinetis/freedom-k28f/src/k28_appinit.c b/boards/arm/kinetis/freedom-k28f/src/k28_appinit.c index fcb3438539..aa773580db 100644 --- a/boards/arm/kinetis/freedom-k28f/src/k28_appinit.c +++ b/boards/arm/kinetis/freedom-k28f/src/k28_appinit.c @@ -40,10 +40,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/kinetis/freedom-k64f/src/k64_uid.c b/boards/arm/kinetis/freedom-k64f/src/k64_uid.c index 04890a716b..53b4eab707 100644 --- a/boards/arm/kinetis/freedom-k64f/src/k64_uid.c +++ b/boards/arm/kinetis/freedom-k64f/src/k64_uid.c @@ -24,6 +24,7 @@ #include +#include #include #include @@ -38,10 +39,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/lpc17xx_40xx/lpc4088-devkit/src/lpc17_40_appinit.c b/boards/arm/lpc17xx_40xx/lpc4088-devkit/src/lpc17_40_appinit.c index 1bc7c4c100..4ec8e10bcd 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-devkit/src/lpc17_40_appinit.c +++ b/boards/arm/lpc17xx_40xx/lpc4088-devkit/src/lpc17_40_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "lpc4088-devkit.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/src/lpc17_40_appinit.c b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/src/lpc17_40_appinit.c index 7906da9f70..bf154575de 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/src/lpc17_40_appinit.c +++ b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/src/lpc17_40_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "lpc4088-quickstart.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_appinit.c b/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_appinit.c index 7f6751a020..c2e0eabffb 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_appinit.c +++ b/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "lx_cpu.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/lpc17xx_40xx/mcb1700/src/lpc17_40_appinit.c b/boards/arm/lpc17xx_40xx/mcb1700/src/lpc17_40_appinit.c index 1ac7070df3..abf2805f30 100644 --- a/boards/arm/lpc17xx_40xx/mcb1700/src/lpc17_40_appinit.c +++ b/boards/arm/lpc17xx_40xx/mcb1700/src/lpc17_40_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "mcb1700.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/lpc17xx_40xx/open1788/src/lpc17_40_appinit.c b/boards/arm/lpc17xx_40xx/open1788/src/lpc17_40_appinit.c index 2b4ee0cb2e..d057843c90 100644 --- a/boards/arm/lpc17xx_40xx/open1788/src/lpc17_40_appinit.c +++ b/boards/arm/lpc17xx_40xx/open1788/src/lpc17_40_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "open1788.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_appinit.c b/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_appinit.c index 371079131f..c19ed8d8cf 100644 --- a/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_appinit.c +++ b/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "pnev5180b.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/rp2040/pimoroni-tiny2040/src/rp2040_appinit.c b/boards/arm/rp2040/pimoroni-tiny2040/src/rp2040_appinit.c index 1c5383af24..6b3ffa2c3e 100644 --- a/boards/arm/rp2040/pimoroni-tiny2040/src/rp2040_appinit.c +++ b/boards/arm/rp2040/pimoroni-tiny2040/src/rp2040_appinit.c @@ -23,6 +23,8 @@ ****************************************************************************/ #include + +#include #include #include "rp2040_tiny2040.h" @@ -31,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/rp2040/raspberrypi-pico-w/src/rp2040_appinit.c b/boards/arm/rp2040/raspberrypi-pico-w/src/rp2040_appinit.c index 7588accca0..e79d31789d 100644 --- a/boards/arm/rp2040/raspberrypi-pico-w/src/rp2040_appinit.c +++ b/boards/arm/rp2040/raspberrypi-pico-w/src/rp2040_appinit.c @@ -23,6 +23,8 @@ ****************************************************************************/ #include + +#include #include #include "rp2040_pico.h" @@ -31,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/rp2040/raspberrypi-pico/src/rp2040_appinit.c b/boards/arm/rp2040/raspberrypi-pico/src/rp2040_appinit.c index 2609fa18cb..fbae39c373 100644 --- a/boards/arm/rp2040/raspberrypi-pico/src/rp2040_appinit.c +++ b/boards/arm/rp2040/raspberrypi-pico/src/rp2040_appinit.c @@ -23,6 +23,8 @@ ****************************************************************************/ #include + +#include #include #include "rp2040_pico.h" @@ -31,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/src/rp2040_appinit.c b/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/src/rp2040_appinit.c index de8614272c..0593f2facd 100644 --- a/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/src/rp2040_appinit.c +++ b/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/src/rp2040_appinit.c @@ -23,6 +23,8 @@ ****************************************************************************/ #include + +#include #include #include "rp2040_pico.h" @@ -31,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_appinit.c b/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_appinit.c index e0968f5de0..295a5275c0 100644 --- a/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_appinit.c +++ b/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_appinit.c @@ -27,6 +27,7 @@ #include #include +#include #include #include "rddrone-bms772.h" @@ -35,10 +36,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/s32k1xx/s32k118evb/src/s32k1xx_appinit.c b/boards/arm/s32k1xx/s32k118evb/src/s32k1xx_appinit.c index 203c7a1c36..152f96c2f1 100644 --- a/boards/arm/s32k1xx/s32k118evb/src/s32k1xx_appinit.c +++ b/boards/arm/s32k1xx/s32k118evb/src/s32k1xx_appinit.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "s32k118evb.h" @@ -33,10 +34,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_appinit.c b/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_appinit.c index c4c1cf110b..f692fe71cc 100644 --- a/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_appinit.c +++ b/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_appinit.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "s32k144evb.h" @@ -33,10 +34,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_appinit.c b/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_appinit.c index 0f73f03664..baa8acd6a0 100644 --- a/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_appinit.c +++ b/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_appinit.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "s32k146evb.h" @@ -33,10 +34,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_appinit.c b/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_appinit.c index 59998634c1..cca305d567 100644 --- a/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_appinit.c +++ b/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_appinit.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "s32k148evb.h" @@ -33,10 +34,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_appinit.c b/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_appinit.c index 18cff58c2d..3026d6b3e7 100644 --- a/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_appinit.c +++ b/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_appinit.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "ucans32k146.h" @@ -33,10 +34,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/sam34/arduino-due/src/sam_appinit.c b/boards/arm/sam34/arduino-due/src/sam_appinit.c index 20c9ce5a8f..c360e82a5b 100644 --- a/boards/arm/sam34/arduino-due/src/sam_appinit.c +++ b/boards/arm/sam34/arduino-due/src/sam_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "arduino-due.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/sam34/flipnclick-sam3x/src/sam_appinit.c b/boards/arm/sam34/flipnclick-sam3x/src/sam_appinit.c index 187e0c5f16..5beb876aa7 100644 --- a/boards/arm/sam34/flipnclick-sam3x/src/sam_appinit.c +++ b/boards/arm/sam34/flipnclick-sam3x/src/sam_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "flipnclick-sam3x.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/sam34/sam3u-ek/src/sam_mmcsd.c b/boards/arm/sam34/sam3u-ek/src/sam_mmcsd.c index 6e1a8e8867..e4186c459e 100644 --- a/boards/arm/sam34/sam3u-ek/src/sam_mmcsd.c +++ b/boards/arm/sam34/sam3u-ek/src/sam_mmcsd.c @@ -24,6 +24,7 @@ #include +#include #include #include @@ -53,10 +54,6 @@ /* Usually defined in NuttX header files */ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/boards/arm/samd5e5/metro-m4/src/sam_appinit.c b/boards/arm/samd5e5/metro-m4/src/sam_appinit.c index b667161203..b4d16fd1bd 100644 --- a/boards/arm/samd5e5/metro-m4/src/sam_appinit.c +++ b/boards/arm/samd5e5/metro-m4/src/sam_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "metro-m4.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/samd5e5/same54-xplained-pro/src/sam_appinit.c b/boards/arm/samd5e5/same54-xplained-pro/src/sam_appinit.c index 9333fb1ad6..ef7509405f 100644 --- a/boards/arm/samd5e5/same54-xplained-pro/src/sam_appinit.c +++ b/boards/arm/samd5e5/same54-xplained-pro/src/sam_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "same54-xplained-pro.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/axoloti/src/stm32_appinit.c b/boards/arm/stm32/axoloti/src/stm32_appinit.c index 9e16937422..b9c3bcc14f 100644 --- a/boards/arm/stm32/axoloti/src/stm32_appinit.c +++ b/boards/arm/stm32/axoloti/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "axoloti.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/b-g431b-esc1/src/stm32_appinit.c b/boards/arm/stm32/b-g431b-esc1/src/stm32_appinit.c index 8ab4db9584..fa6960089a 100644 --- a/boards/arm/stm32/b-g431b-esc1/src/stm32_appinit.c +++ b/boards/arm/stm32/b-g431b-esc1/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "b-g431b-esc1.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f103rb/src/stm32_appinit.c b/boards/arm/stm32/nucleo-f103rb/src/stm32_appinit.c index 90f89528b6..00da6bf921 100644 --- a/boards/arm/stm32/nucleo-f103rb/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-f103rb/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f103rb.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f207zg/src/stm32_appinitialize.c b/boards/arm/stm32/nucleo-f207zg/src/stm32_appinitialize.c index 668378820d..17209befc6 100644 --- a/boards/arm/stm32/nucleo-f207zg/src/stm32_appinitialize.c +++ b/boards/arm/stm32/nucleo-f207zg/src/stm32_appinitialize.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f207zg.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f302r8/src/stm32_appinit.c b/boards/arm/stm32/nucleo-f302r8/src/stm32_appinit.c index 6d185fac8a..442e101a41 100644 --- a/boards/arm/stm32/nucleo-f302r8/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-f302r8/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f302r8.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f303re/src/stm32_uid.c b/boards/arm/stm32/nucleo-f303re/src/stm32_uid.c index 027a39c76e..a74070ac7d 100644 --- a/boards/arm/stm32/nucleo-f303re/src/stm32_uid.c +++ b/boards/arm/stm32/nucleo-f303re/src/stm32_uid.c @@ -39,6 +39,7 @@ #include +#include #include #include "stm32_uid.h" @@ -48,10 +49,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f303ze/src/stm32_appinitialize.c b/boards/arm/stm32/nucleo-f303ze/src/stm32_appinitialize.c index 1dc9433932..331c6fe5e1 100644 --- a/boards/arm/stm32/nucleo-f303ze/src/stm32_appinitialize.c +++ b/boards/arm/stm32/nucleo-f303ze/src/stm32_appinitialize.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f303ze.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f410rb/src/stm32_appinit.c b/boards/arm/stm32/nucleo-f410rb/src/stm32_appinit.c index 237e16c9d9..5f1bc8f8ee 100644 --- a/boards/arm/stm32/nucleo-f410rb/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-f410rb/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f410rb.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f446re/src/stm32_appinit.c b/boards/arm/stm32/nucleo-f446re/src/stm32_appinit.c index 77a105f5be..c0497cf8ab 100644 --- a/boards/arm/stm32/nucleo-f446re/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-f446re/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f446re.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-f4x1re/src/stm32_appinit.c b/boards/arm/stm32/nucleo-f4x1re/src/stm32_appinit.c index 32f960a363..45ce5cf6ea 100644 --- a/boards/arm/stm32/nucleo-f4x1re/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-f4x1re/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-f4x1re.h" @@ -34,10 +35,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-g431kb/src/stm32_appinit.c b/boards/arm/stm32/nucleo-g431kb/src/stm32_appinit.c index a6b55c6240..b668f18368 100644 --- a/boards/arm/stm32/nucleo-g431kb/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-g431kb/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-g431kb.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/nucleo-g431rb/src/stm32_appinit.c b/boards/arm/stm32/nucleo-g431rb/src/stm32_appinit.c index c5d069dd96..82f34e2a8d 100644 --- a/boards/arm/stm32/nucleo-g431rb/src/stm32_appinit.c +++ b/boards/arm/stm32/nucleo-g431rb/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-g431rb.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/olimex-stm32-e407/src/stm32_appinit.c b/boards/arm/stm32/olimex-stm32-e407/src/stm32_appinit.c index 87e80e14a5..b7b75ea4a0 100644 --- a/boards/arm/stm32/olimex-stm32-e407/src/stm32_appinit.c +++ b/boards/arm/stm32/olimex-stm32-e407/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "olimex-stm32-e407.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/omnibusf4/src/stm32_appinit.c b/boards/arm/stm32/omnibusf4/src/stm32_appinit.c index 40a057d5a0..c4f0d9764c 100644 --- a/boards/arm/stm32/omnibusf4/src/stm32_appinit.c +++ b/boards/arm/stm32/omnibusf4/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "omnibusf4.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/omnibusf4/src/stm32_uid.c b/boards/arm/stm32/omnibusf4/src/stm32_uid.c index 810cd7ed50..7dae0b3b98 100644 --- a/boards/arm/stm32/omnibusf4/src/stm32_uid.c +++ b/boards/arm/stm32/omnibusf4/src/stm32_uid.c @@ -39,6 +39,7 @@ #include +#include #include #include "stm32_uid.h" @@ -48,10 +49,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/stm3210e-eval/src/stm32_appinit.c b/boards/arm/stm32/stm3210e-eval/src/stm32_appinit.c index 46259c8b2b..b06c949639 100644 --- a/boards/arm/stm32/stm3210e-eval/src/stm32_appinit.c +++ b/boards/arm/stm32/stm3210e-eval/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "stm3210e-eval.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c b/boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c index 0d7b6ddc8d..a26568b00f 100644 --- a/boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c +++ b/boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "stm3240g-eval.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/stm32f3discovery/src/stm32_appinit.c b/boards/arm/stm32/stm32f3discovery/src/stm32_appinit.c index 4c7e3490ae..c98630ee47 100644 --- a/boards/arm/stm32/stm32f3discovery/src/stm32_appinit.c +++ b/boards/arm/stm32/stm32f3discovery/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "stm32f3discovery.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_appinit.c b/boards/arm/stm32/stm32f4discovery/src/stm32_appinit.c index 4000c42307..9e2856f7d7 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_appinit.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "stm32f4discovery.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_uid.c b/boards/arm/stm32/stm32f4discovery/src/stm32_uid.c index 5c03486606..77fcb718bf 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_uid.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_uid.c @@ -39,6 +39,7 @@ #include +#include #include #include "stm32_uid.h" @@ -48,10 +49,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/stm32vldiscovery/src/stm32_appinit.c b/boards/arm/stm32/stm32vldiscovery/src/stm32_appinit.c index bbb3d324da..253f8a0222 100644 --- a/boards/arm/stm32/stm32vldiscovery/src/stm32_appinit.c +++ b/boards/arm/stm32/stm32vldiscovery/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "stm32vldiscovery.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32/viewtool-stm32f107/src/stm32_appinit.c b/boards/arm/stm32/viewtool-stm32f107/src/stm32_appinit.c index 51cfd7e50e..dbb9332087 100644 --- a/boards/arm/stm32/viewtool-stm32f107/src/stm32_appinit.c +++ b/boards/arm/stm32/viewtool-stm32f107/src/stm32_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "viewtool_stm32f107.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_appinit.c b/boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_appinit.c index 95e3dc73ec..cd923a9611 100644 --- a/boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_appinit.c +++ b/boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_appinit.c @@ -36,10 +36,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_appinitialize.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_appinitialize.c index 75755a1dfa..f8905ae6ed 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_appinitialize.c +++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_appinitialize.c @@ -24,6 +24,7 @@ #include +#include #include #include "nucleo-h743zi.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_pwm.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_pwm.c index fda556ed90..c8ae9f8212 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_pwm.c +++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_pwm.c @@ -39,8 +39,6 @@ * Pre-processor Definitions ****************************************************************************/ -#define OK 0 - /* Configuration ************************************************************/ #define HAVE_PWM 1 diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_uid.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_uid.c index 8fadc299c1..7697ae166f 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_uid.c +++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_uid.c @@ -40,6 +40,7 @@ #include +#include #include #include "stm32_uid.h" @@ -49,10 +50,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_appinitialize.c b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_appinitialize.c index 69cbb20be8..2fd1a2018d 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_appinitialize.c +++ b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_appinitialize.c @@ -24,6 +24,7 @@ #include +#include #include #include "stm32h747i-disco.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_uid.c b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_uid.c index 39e3c329b8..aeabb383fb 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_uid.c +++ b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_uid.c @@ -40,6 +40,7 @@ #include +#include #include #include "stm32_uid.h" @@ -49,10 +50,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/or1k/mor1kx/or1k/src/or1k_appinit.c b/boards/or1k/mor1kx/or1k/src/or1k_appinit.c index 0602e7e30c..773cbbffd7 100644 --- a/boards/or1k/mor1kx/or1k/src/or1k_appinit.c +++ b/boards/or1k/mor1kx/or1k/src/or1k_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "or1k.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/z16/z16f/z16f2800100zcog/src/z16f_appinit.c b/boards/z16/z16f/z16f2800100zcog/src/z16f_appinit.c index d6a640ba2b..456a9843e3 100644 --- a/boards/z16/z16f/z16f2800100zcog/src/z16f_appinit.c +++ b/boards/z16/z16f/z16f2800100zcog/src/z16f_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/z80/ez80/makerlisp/src/ez80_appinit.c b/boards/z80/ez80/makerlisp/src/ez80_appinit.c index e62c5e301b..b0a1569be3 100644 --- a/boards/z80/ez80/makerlisp/src/ez80_appinit.c +++ b/boards/z80/ez80/makerlisp/src/ez80_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "makerlisp.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/boards/z80/ez80/z20x/src/ez80_appinit.c b/boards/z80/ez80/z20x/src/ez80_appinit.c index 1ecf827044..43bce24e53 100644 --- a/boards/z80/ez80/z20x/src/ez80_appinit.c +++ b/boards/z80/ez80/z20x/src/ez80_appinit.c @@ -24,6 +24,7 @@ #include +#include #include #include "z20x.h" @@ -32,10 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/