aboutsummaryrefslogtreecommitdiff
path: root/gcc/tsystem.h
diff options
context:
space:
mode:
authorDoug Evans <dje@sebabeach.org>2003-06-13 21:52:02 +0000
committerDoug Evans <devans@gcc.gnu.org>2003-06-13 21:52:02 +0000
commit7e7de68b893876ebc06e378fcd3a7090fddd0865 (patch)
treef50efce15bf2345767a066a70a60453afff1bfff /gcc/tsystem.h
parented24293523ef9e1deb47edfd87349d0724d6cd04 (diff)
downloadgcc-7e7de68b893876ebc06e378fcd3a7090fddd0865.zip
gcc-7e7de68b893876ebc06e378fcd3a7090fddd0865.tar.gz
gcc-7e7de68b893876ebc06e378fcd3a7090fddd0865.tar.bz2
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
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r--gcc/tsystem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h
index f36510b..d76c1ba 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. */