OSDN Git Service

* tsystem.h (abort): Declare in inhibit_libc case to remove build
authordevans <devans@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2003 21:52:02 +0000 (21:52 +0000)
committerdevans <devans@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2003 21:52:02 +0000 (21:52 +0000)
warnings for addvsi3, et.al.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67915 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tsystem.h

index 8416f98..c526f71 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 f36510b..d76c1ba 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.  */