title: Replacing function call (and not declaration) with define C
body: <p>I try to use define to replace function call, but I can't find how to replace only the call and not the declaration.</p>
  
  <p>IE:</p>
  
  <pre><code>#define test(); printf("worked\n");
  
  void test()
  {
  printf("how sad ?\n");
  }
  
  int main()
  {
  test();
  }
  </code></pre>
  
  <p>I can't create my define after the function (project rules)</p>
  
  <p>The problem is : I expected the semicolon after "test()" in the define to replaces only the call, but it replaces also the declaration.</p>
  
  <p>I tried to google and nothing on that, is it really possible ? It's weird that it is not taking the literal expression.</p>