# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1476283968 -10800
# Node ID df3e2792fd58acceccd4f03ac444e130f874482a
# Parent  21a97cdb317d1fe3b014e3d926aa71147acee2ed
make autogenerated functions to be 'static inline' instead of 'inline'

This fixes link issue and compile warning, for more details about this
issue look at
https://bitbucket.org/mjsousa/matiec/issues/53/c-compiler-warning-if-iec-function-is-used

diff -r 21a97cdb317d -r df3e2792fd58 stage4/generate_c/generate_c_inlinefcall.cc
--- a/stage4/generate_c/generate_c_inlinefcall.cc	Tue Jun 28 16:35:47 2016 +0300
+++ b/stage4/generate_c/generate_c_inlinefcall.cc	Wed Oct 12 17:52:48 2016 +0300
@@ -104,7 +104,7 @@
       }
 
       s4o.print(s4o.indent_spaces);
-      s4o.print("inline ");
+      s4o.print("static inline ");      
       function_type_prefix->accept(*this);
       s4o.print(" __");
       fbname->accept(*this);