public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] add forward declaration to __cxa_atexit to aeabi_atexit, to prevent warnings Date: Fri, 16 Feb 2018 12:45:00 -0000 [thread overview] Message-ID: <20180216124556.31648.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8329f4867b3f843318134f756c9c0fb27a5befd4 commit 8329f4867b3f843318134f756c9c0fb27a5befd4 Author: Jaap de Wolff <info@jasoon.nl> Date: Mon Feb 12 12:23:43 2018 +0100 add forward declaration to __cxa_atexit to aeabi_atexit, to prevent warnings Diff: --- newlib/libc/sys/arm/aeabi_atexit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newlib/libc/sys/arm/aeabi_atexit.c b/newlib/libc/sys/arm/aeabi_atexit.c index 4b600e2..a5626b7 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. */
reply other threads:[~2018-02-16 12:45 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180216124556.31648.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).