summaryrefslogtreecommitdiff
path: root/src/core/alloc_func.hpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2008-06-22 15:41:38 +0000
committerskidd13 <skidd13@openttd.org>2008-06-22 15:41:38 +0000
commitb4ef380c49c2dfc78c7bd25a8ebc15d7a27b7243 (patch)
tree5108d49e47c818fec8c5b29f346e207dde9f22a7 /src/core/alloc_func.hpp
parent640e5478862e3b83d85db6332e0d82a45a95e4ed (diff)
downloadopenttd-b4ef380c49c2dfc78c7bd25a8ebc15d7a27b7243.tar.xz
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
Diffstat (limited to 'src/core/alloc_func.hpp')
-rw-r--r--src/core/alloc_func.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/alloc_func.hpp b/src/core/alloc_func.hpp
index 45c0036d9..f1e0f7ba8 100644
--- a/src/core/alloc_func.hpp
+++ b/src/core/alloc_func.hpp
@@ -76,7 +76,7 @@ static FORCEINLINE T *CallocT(size_t num_elements)
* @return NULL when num_elements == 0, non-NULL otherwise.
*/
template <typename T>
-FORCEINLINE T *ReallocT(T *t_ptr, size_t num_elements)
+static FORCEINLINE T *ReallocT(T *t_ptr, size_t num_elements)
{
/*
* MorphOS cannot handle 0 elements allocations, or rather that always