summaryrefslogtreecommitdiff
path: root/src/core/alloc_func.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-18 21:38:36 +0000
committersmatz <smatz@openttd.org>2008-04-18 21:38:36 +0000
commit14dc60c8a1a31dc000d931e4c54350903ce3bc45 (patch)
tree0832b2ec9f340a6490911957f49c46b64180be4f /src/core/alloc_func.hpp
parentf32ecbcadb523777cd4700b56d1562363d5646ea (diff)
downloadopenttd-14dc60c8a1a31dc000d931e4c54350903ce3bc45.tar.xz
(svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions
Diffstat (limited to 'src/core/alloc_func.hpp')
-rw-r--r--src/core/alloc_func.hpp4
1 files changed, 2 insertions, 2 deletions
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