Remove OK macro from the code base

let's use OK from sys/types.h instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-02-01 05:56:08 +08:00
committed by Alin Jerpelea
parent 3ae4a6b8c3
commit df102d1f06
66 changed files with 60 additions and 268 deletions
+1 -4
View File
@@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <nuttx/board.h>
#include "makerlisp.h"
@@ -32,10 +33,6 @@
* Pre-processor Definitions
****************************************************************************/
#ifndef OK
# define OK 0
#endif
/****************************************************************************
* Public Functions
****************************************************************************/
+1 -4
View File
@@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <nuttx/board.h>
#include "z20x.h"
@@ -32,10 +33,6 @@
* Pre-processor Definitions
****************************************************************************/
#ifndef OK
# define OK 0
#endif
/****************************************************************************
* Public Functions
****************************************************************************/