[LPC4088] Corrected an invalid header file dependecy.

pull/141/head
Andreas Rebert 2014-01-09 09:10:10 +01:00
parent 1448b871c1
commit e8b09cbc2d
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@
You can override this function in your code to reserve a number of bytes
for the stack.
*/
extern "C" WEAK uint32_t __reserved_stack_size();
extern "C" WEAK uint32_t __reserved_stack_size() {
extern "C" __attribute__((weak)) uint32_t __reserved_stack_size();
extern "C" __attribute__((weak)) uint32_t __reserved_stack_size() {
return 0; // return 0 to indicate that nothing is reserved
}

View File

@ -2,7 +2,6 @@
#define SYS_HELPER_H
#include <stdint.h>
#include "toolchain.h"
#ifdef __cplusplus
extern "C" {