You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/01/29 08:26:13 UTC
[incubator-nuttx] 05/12: Revert "A workaround for macOS linker"
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch revert-179-osx-sim
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit bbb310c68c957be9a90f73ffcce1870f1a772f87
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Wed Jan 29 09:26:02 2020 +0100
Revert "A workaround for macOS linker"
This reverts commit cc90d586c09770770d047c8d3a45ab1db35c58f4.
---
binfmt/binfmt_globals.c | 2 +-
mm/umm_heap/umm_globals.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/binfmt/binfmt_globals.c b/binfmt/binfmt_globals.c
index 94f98f1..ea01ab0 100644
--- a/binfmt/binfmt_globals.c
+++ b/binfmt/binfmt_globals.c
@@ -56,7 +56,7 @@
* protection to simply disable pre-emption when accessing this list.
*/
-FAR struct binfmt_s *g_binfmts = NULL;
+FAR struct binfmt_s *g_binfmts;
/****************************************************************************
* Private Functions
diff --git a/mm/umm_heap/umm_globals.c b/mm/umm_heap/umm_globals.c
index a00ce3c..012aac7 100644
--- a/mm/umm_heap/umm_globals.c
+++ b/mm/umm_heap/umm_globals.c
@@ -64,5 +64,5 @@
#else
/* Otherwise, the user heap data structures are in common .bss */
-struct mm_heap_s g_mmheap = {};
+struct mm_heap_s g_mmheap;
#endif