title: How can I tell gcc not to inline a function?
body: <p>Say I have this small function in a source file</p>
  
  <pre><code>static void foo() {}
  </code></pre>
  
  <p>and I build an optimized version of my binary yet I don't want this function inlined (for optimization purposes). is there a macro I can add in a source code to prevent the inlining?</p>