diff options
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/atexit.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c index e5ec35aa317..3636f1cee91 100644 --- a/lib/libc/stdlib/atexit.c +++ b/lib/libc/stdlib/atexit.c @@ -1,4 +1,4 @@ -/* $NetBSD: atexit.c,v 1.28 2015/04/18 21:44:31 joerg Exp $ */ +/* $NetBSD: atexit.c,v 1.29 2015/04/19 18:15:26 joerg Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: atexit.c,v 1.28 2015/04/18 21:44:31 joerg Exp $"); +__RCSID("$NetBSD: atexit.c,v 1.29 2015/04/19 18:15:26 joerg Exp $"); #endif /* LIBC_SCCS and not lint */ #include "reentrant.h" @@ -136,7 +136,14 @@ __libc_atexit_init(void) * http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor */ #if defined(__ARM_EABI__) && !defined(lint) -__strong_alias(__aeabi_atexit,__cxa_atexit); +int +__aeabi_atexit(void *arg, void (*func)(void *), void *dso); + +int +__aeabi_atexit(void *arg, void (*func)(void *), void *dso) +{ + return __cxa_atexit(func, arg, dso); +} #endif int |
