From 7789bbb470b215c713a2e82106086bc914c286e7 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 29 Jun 2020 17:10:11 +0800 Subject: [PATCH] zmodem: Remove CONFIG_HAVE_INLINE from compiler.h follow up the kernel side change Signed-off-by: Xiang Xiao --- system/zmodem/host/nuttx/compiler.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/system/zmodem/host/nuttx/compiler.h b/system/zmodem/host/nuttx/compiler.h index 7fbc365e2..d95964116 100644 --- a/system/zmodem/host/nuttx/compiler.h +++ b/system/zmodem/host/nuttx/compiler.h @@ -215,10 +215,6 @@ # undef CONFIG_PTR_IS_NOT_INT #endif -/* GCC supports inlined functions */ - -# define CONFIG_HAVE_INLINE 1 - /* GCC supports both types double and long long */ # define CONFIG_HAVE_LONG_LONG 1 @@ -323,11 +319,6 @@ # define CONFIG_PTR_IS_NOT_INT 1 #endif -/* SDCC does not support inline functions */ - -# undef CONFIG_HAVE_INLINE -# define inline - /* SDCC does not support type long long or type double */ # undef CONFIG_HAVE_LONG_LONG @@ -432,11 +423,6 @@ # endif # endif -/* The Zilog compiler does not support inline functions */ - -# undef CONFIG_HAVE_INLINE -# define inline - /* Older Zilog compilers support both types double and long long, but the * size is 32-bits (same as long and single precision) so it is safer to * say that they are not supported. Later versions are more ANSII compliant @@ -519,8 +505,6 @@ # undef CONFIG_SMALL_MEMORY # undef CONFIG_LONG_IS_NOT_INT # undef CONFIG_PTR_IS_NOT_INT -# undef CONFIG_HAVE_INLINE -# define inline 1 # undef CONFIG_HAVE_LONG_LONG # define CONFIG_HAVE_FLOAT 1 # undef CONFIG_HAVE_DOUBLE