diff macro.c @ 47:2e25e55dba6b

Fix inline usage as per the version in dholland-make2.
author David A. Holland
date Sat, 30 Mar 2013 23:05:59 -0400
parents ad7763329eba
children bbbf71859a21
line wrap: on
line diff
--- a/macro.c	Sat Mar 30 22:35:06 2013 -0400
+++ b/macro.c	Sat Mar 30 23:05:59 2013 -0400
@@ -44,8 +44,8 @@
 		unsigned param;
 	};
 };
-DECLARRAY(expansionitem);
-DEFARRAY(expansionitem, );
+DECLARRAY(expansionitem, static __unused);
+DEFARRAY(expansionitem, static);
 
 struct macro {
 	struct place defplace;
@@ -57,10 +57,10 @@
 	struct expansionitemarray expansion;
 	bool inuse;
 };
-DECLARRAY(macro);
-DEFARRAY(macro, );
-DECLARRAY(macroarray);
-DEFARRAY(macroarray, );
+DECLARRAY(macro, static __unused);
+DEFARRAY(macro, static);
+DECLARRAY(macroarray, static __unused);
+DEFARRAY(macroarray, static);
 
 static struct macroarrayarray macros;
 static unsigned total_macros;