You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/06/02 07:54:30 UTC

[incubator-nuttx] 01/02: libc: Remove weak_function from __aeabi_atexit

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 1a3e57fe86412d68f09ec6b6d5e4675ec8e3a8ee
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Jun 1 01:23:19 2022 +0800

    libc: Remove weak_function from __aeabi_atexit
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 libs/libc/machine/arm/aeabi_atexit.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libs/libc/machine/arm/aeabi_atexit.c b/libs/libc/machine/arm/aeabi_atexit.c
index 9b27d1f877..8f0dac51f5 100644
--- a/libs/libc/machine/arm/aeabi_atexit.c
+++ b/libs/libc/machine/arm/aeabi_atexit.c
@@ -42,9 +42,7 @@
  *
  ****************************************************************************/
 
-int weak_function __aeabi_atexit(void *object,
-                                 void (*func)(void *),
-                                 void *dso_handle)
+int __aeabi_atexit(void *object, void (*func)(void *), void *dso_handle)
 {
   return atexit_register(ATTYPE_CXA, (void (*)(void))func, object,
                          dso_handle);