From 6813a17d15c511c0c1c3800688d6bea3632f8dda Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 18 Apr 2008 21:38:36 +0000 Subject: (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions --- src/core/alloc_func.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/alloc_func.hpp') diff --git a/src/core/alloc_func.hpp b/src/core/alloc_func.hpp index 2a31f8637..d5e90832e 100644 --- a/src/core/alloc_func.hpp +++ b/src/core/alloc_func.hpp @@ -11,8 +11,8 @@ * duplicated in each object file making the final * binary needlessly large. */ -void MallocError(size_t size); -void ReallocError(size_t size); +void NORETURN MallocError(size_t size); +void NORETURN ReallocError(size_t size); /** * Simplified allocation function that allocates the specified number of -- cgit v1.2.3-70-g09d2