From: Doug Evans Date: Fri, 13 Jun 2003 21:52:02 +0000 (+0000) Subject: tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3... X-Git-Tag: releases/gcc-3.4.0~5859 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e7de68b893876ebc06e378fcd3a7090fddd0865;p=thirdparty%2Fgcc.git tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3, et.al. * tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3, et.al. From-SVN: r67915 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8416f98f8963..c526f71cd7b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-13 Doug Evans + + * tsystem.h (abort): Declare in inhibit_libc case to remove build + warnings for addvsi3, et.al. + 2003-06-13 Aldy Hernandez * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro. diff --git a/gcc/tsystem.h b/gcc/tsystem.h index f36510b15aee..d76c1ba62cc6 100644 --- a/gcc/tsystem.h +++ b/gcc/tsystem.h @@ -58,6 +58,10 @@ extern void free (void *); extern int atexit (void (*)(void)); #endif +#ifndef abort +extern void abort (void) __attribute__ ((__noreturn__)); +#endif + #else /* ! inhibit_libc */ /* We disable this when inhibit_libc, so that gcc can still be built without needing header files first. */