diff options
author | Jaap de Wolff <info@jasoon.nl> | 2018-02-12 12:23:43 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-02-16 12:16:07 +0100 |
commit | 8329f4867b3f843318134f756c9c0fb27a5befd4 (patch) | |
tree | b7790dff71fb53bd45f246fb645fdd4942a4946a | |
parent | 337cee51cac0d0fa0d68a437d5d182fc84de1241 (diff) | |
download | cygnal-8329f4867b3f843318134f756c9c0fb27a5befd4.tar.gz cygnal-8329f4867b3f843318134f756c9c0fb27a5befd4.tar.bz2 cygnal-8329f4867b3f843318134f756c9c0fb27a5befd4.zip |
add forward declaration to __cxa_atexit to aeabi_atexit, to prevent warnings
-rw-r--r-- | newlib/libc/sys/arm/aeabi_atexit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/aeabi_atexit.c b/newlib/libc/sys/arm/aeabi_atexit.c index 4b600e250..a5626b732 100644 --- a/newlib/libc/sys/arm/aeabi_atexit.c +++ b/newlib/libc/sys/arm/aeabi_atexit.c @@ -1,5 +1,8 @@ #include <stdlib.h> +/* forward declaration */ +extern int __cxa_atexit (void (*) (void *), void *, void *); + /* Register a function to be called by exit or when a shared library is unloaded. This routine is like __cxa_atexit, but uses the calling sequence required by the ARM EABI. */ |