summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/aeabi_atexit.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:20 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commit00c8ece258acfa8867485172af9e74313d25bbdf (patch)
treee8e6ce9889202cfbd44e23ef7b7d1f5907b9d5b8 /libc/sysdeps/linux/arm/aeabi_atexit.c
parentb9b00cd60abd606fee136efbf6c376aace5f3f2a (diff)
Provide token prototypes for functions that are external but have no header
This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/arm/aeabi_atexit.c')
-rw-r--r--libc/sysdeps/linux/arm/aeabi_atexit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/aeabi_atexit.c b/libc/sysdeps/linux/arm/aeabi_atexit.c
index 4a7a6f1dc..ebb233b4f 100644
--- a/libc/sysdeps/linux/arm/aeabi_atexit.c
+++ b/libc/sysdeps/linux/arm/aeabi_atexit.c
@@ -24,8 +24,8 @@ libc_hidden_proto(__cxa_atexit)
/* 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. */
-int
-__aeabi_atexit (void *arg, void (*func) (void *), void *d)
+int __aeabi_atexit (void *arg, void (*func) (void *), void *d);
+int __aeabi_atexit (void *arg, void (*func) (void *), void *d)
{
return __cxa_atexit (func, arg, d);
}