You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/07/06 00:22:49 UTC

[incubator-nuttx-apps] branch master updated: zmodem: Remove CONFIG_HAVE_INLINE from compiler.h

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 7789bbb  zmodem: Remove CONFIG_HAVE_INLINE from compiler.h
7789bbb is described below

commit 7789bbb470b215c713a2e82106086bc914c286e7
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Jun 29 17:10:11 2020 +0800

    zmodem: Remove CONFIG_HAVE_INLINE from compiler.h
    
    follow up the kernel side change
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 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 7fbc365..d959641 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