From 4824b04b44bb069edb457fc9cc00d54c8d1ed17e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Aug 2018 07:04:51 -0600 Subject: [PATCH] arch/arm/src/armv6+7-m/up_vectors.c: Fix the type mismatch warning for _ebss --- arch/arm/src/armv6-m/up_vectors.c | 5 +---- arch/arm/src/armv7-m/up_vectors.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm/src/armv6-m/up_vectors.c b/arch/arm/src/armv6-m/up_vectors.c index b40d6c2887..ee846e7cc0 100644 --- a/arch/arm/src/armv6-m/up_vectors.c +++ b/arch/arm/src/armv6-m/up_vectors.c @@ -44,6 +44,7 @@ #include #include "chip.h" +#include "up_internal.h" /************************************************************************************ * Pre-processor Definitions @@ -71,10 +72,6 @@ extern void exception_common(void); * Public data ************************************************************************************/ -/* Provided by the linker script to indicate the end of the BSS */ - -extern char _ebss; - /* The v7m vector table consists of an array of function pointers, with the first * slot (vector zero) used to hold the initial stack pointer. * diff --git a/arch/arm/src/armv7-m/up_vectors.c b/arch/arm/src/armv7-m/up_vectors.c index 8325928f75..fcdd380a4d 100644 --- a/arch/arm/src/armv7-m/up_vectors.c +++ b/arch/arm/src/armv7-m/up_vectors.c @@ -39,6 +39,7 @@ #include #include "chip.h" +#include "up_internal.h" /************************************************************************************ * Pre-processor Definitions @@ -66,10 +67,6 @@ extern void exception_common(void); * Public data ************************************************************************************/ -/* Provided by the linker script to indicate the end of the BSS */ - -extern char _ebss; - /* The v7m vector table consists of an array of function pointers, with the first * slot (vector zero) used to hold the initial stack pointer. *