diff options
| author | tyustli <[email protected]> | 2019-07-27 17:33:36 +0800 |
|---|---|---|
| committer | tyustli <[email protected]> | 2019-07-27 17:33:36 +0800 |
| commit | 85a9f5add9fd54b3917cfca2a8555c6525df0538 (patch) | |
| tree | 3f1d642df6ad7a9a158291ef8f5539c0a9374402 /src | |
| parent | 5180262010f5ed76f757125a75d54d37c289d022 (diff) | |
fix bug in Thread.cpp/Thread.h/components.c files
Diffstat (limited to 'src')
| -rw-r--r-- | src/components.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components.c b/src/components.c index 3b9f131eaf..b9fc4c178c 100644 --- a/src/components.c +++ b/src/components.c @@ -153,7 +153,6 @@ int __low_level_init(void) return 0; } #elif defined(__GNUC__) -extern int main(void); /* Add -eentry to arm-none-eabi-gcc argument */ int entry(void) { @@ -204,7 +203,7 @@ void rt_application_init(void) result = rt_thread_init(tid, "main", main_thread_entry, RT_NULL, main_stack, sizeof(main_stack), RT_MAIN_THREAD_PRIORITY, 20); RT_ASSERT(result == RT_EOK); - + /* if not define RT_USING_HEAP, using to eliminate the warning */ (void)result; #endif |
