From 05af780f82210b80783fa5870bce28189cc25cf1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 13 Oct 2015 03:48:22 +0200 Subject: __noreturn shall be at the beginning of the prototypes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/assert.h') diff --git a/include/assert.h b/include/assert.h index c3d69f3..73ebabd 100644 --- a/include/assert.h +++ b/include/assert.h @@ -92,8 +92,8 @@ * @param line The line in the source code whence the assertion was made * @param func The function in the source code whence the assertion was made */ -void __assert_fail(const char*, int, const char*, int, const char*) - __GCC_ONLY(__attribute__((nonnull(3, 5)))) __noreturn; +__noreturn void __assert_fail(const char*, int, const char*, int, const char*) + __GCC_ONLY(__attribute__((nonnull(3, 5)))); -- cgit v1.2.3-70-g09d2