title: Argument type 'void' is incomplete
body: <p>I'm trying to code this relatively simple code in which I want to be able to change the value of set_current.
  The error message: "Argument type 'void' is incomplete" keeps showing up and I'm not sure why.</p>
  
  <p>I am not an experienced coder but I have to solve this problem for work. I really hope you can help me.</p>
  
  <pre><code>void setCurrent(float set_current);
  
  int main () { 
      printf("%i", setCurrent(0));
      printf("/n/r");
  }
  
  void setCurrent(float set_current){
      float v_set_cur = 1.25 + (ILIM_K_USE*set_current);
  </code></pre>
  
  <p>"Argument type 'void' is incomplete" shows up on the printf line. When I remove the 0 then it works but I want to be able to change that number.
  What am I missing here?</p>