xgl_helper: Eliminate compiler not used warning
Using static inline vs. static only prevents the compiler
from complaining that the functions have been defined but
not used.
diff --git a/xgl_helper.py b/xgl_helper.py
index 73bc07d..23a6723 100755
--- a/xgl_helper.py
+++ b/xgl_helper.py
@@ -994,7 +994,7 @@
body = []
for bet in self.et_dict:
fet = self.tf_dict[bet]
- body.append("static uint32_t validate_%s(%s input_value)\n{\n switch ((%s)input_value)\n {" % (fet, fet, fet))
+ body.append("static inline uint32_t validate_%s(%s input_value)\n{\n switch ((%s)input_value)\n {" % (fet, fet, fet))
for e in sorted(self.et_dict[bet]):
if (self.ev_dict[e]['unique']):
body.append(' case %s:' % (e))