From 342b56ae8b1adc8dff69115d3d4937e7de2ce03d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 3 Feb 2020 14:18:17 +0900 Subject: [PATCH] Revert "A workaround for macOS linker" Unnecessary after "sim: Add -fno-common to KERNEL ARCHCPUFLAGS" 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 94f98f13d4..ea01ab025b 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 a00ce3c4ec..012aac7631 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