src/core/alloc_func.hpp
changeset 11050 091271fcfbb9
parent 11049 f8bbc9635251
--- a/src/core/alloc_func.hpp	Sun Jun 22 15:21:51 2008 +0000
+++ b/src/core/alloc_func.hpp	Sun Jun 22 15:41:38 2008 +0000
@@ -76,7 +76,7 @@
  * @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