Declare _exit as "noreturn". This will avoid a GCC warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12106 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_replacemalloc/vg_replace_malloc.c b/coregrind/m_replacemalloc/vg_replace_malloc.c
index 0ee96d8..3d7e491 100644
--- a/coregrind/m_replacemalloc/vg_replace_malloc.c
+++ b/coregrind/m_replacemalloc/vg_replace_malloc.c
@@ -120,7 +120,7 @@
__asm__ __volatile__(".word 0xFFFFFFFF");
while (1) {}
# else
- extern void _exit(int status);
+ extern __attribute__ ((__noreturn__)) void _exit(int status);
_exit(x);
# endif
}