tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3...
authorDoug Evans <dje@sebabeach.org>
Fri, 13 Jun 2003 21:52:02 +0000 (21:52 +0000)
committerDoug Evans <devans@gcc.gnu.org>
Fri, 13 Jun 2003 21:52:02 +0000 (21:52 +0000)
* tsystem.h (abort): Declare in inhibit_libc case to remove build
warnings for addvsi3, et.al.

From-SVN: r67915

gcc/ChangeLog
gcc/tsystem.h

index 8416f98f8963e94d44df7911a52969f877969cae..c526f71cd7b0a5ab4e842db677830be6b8ad6842 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-13  Doug Evans  <dje@sebabeach.org>
+
+       * tsystem.h (abort): Declare in inhibit_libc case to remove build
+       warnings for addvsi3, et.al.
+
 2003-06-13  Aldy Hernandez  <aldyh@redhat.com>
 
         * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
index f36510b15aee4c506bcc6727f64ca06441cb6e8a..d76c1ba62cc6eaa217b78d545d71b61978b58e1e 100644 (file)
@@ -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.  */