diff array.h @ 149:c440247cbd69

fix compile bug in array.h (does not currently affect tradcpp)
author David A. Holland
date Sat, 24 Aug 2013 18:50:05 -0400
parents 0921c47b4f22
children
line wrap: on
line diff
--- a/array.h	Sat Jul 13 14:48:38 2013 -0400
+++ b/array.h	Sat Aug 24 18:50:05 2013 -0400
@@ -253,7 +253,7 @@
 #define DEFARRAY(T, INLINE) DEFARRAY_BYTYPE(T##array, struct T, INLINE)
 
 #define DESTROYALL_ARRAY(T, INLINE) \
-	void T##array_destroyall(struct T##array *arr);	\
+	INLINE void T##array_destroyall(struct T##array *arr);	\
 							\
 	INLINE void					\
 	T##array_destroyall(struct T##array *arr)	\