title: what could cause multiple definition error again after I declare the function inline?
body: <p>I had this header file that contain a lot of inline functions,after compile it says:
  multiple definition of function***,the function which looks like this:</p>
  
  <pre><code>inline int testab(int a, int b)
  {
          return a&gt;b;
  }
  </code></pre>
  
  <p>after I add static in front of inline, the error is gone. Is it the right way to do it? Or am I missing something? I thought I could set up inline functions in a header like that.</p>