add forward declaration to __cxa_atexit to aeabi_atexit, to prevent warnings

This commit is contained in:
Jaap de Wolff 2018-02-12 12:23:43 +01:00 committed by Corinna Vinschen
parent 337cee51ca
commit 8329f4867b
1 changed files with 3 additions and 0 deletions

View File

@ -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. */