title: getting an error : error: expected ')' before
body: <h2>a.h</h2>
  
  <pre><code>#define print_line(fmt,...) do{\
      struct timespec _t; clock_gettime(CLOCK_MONOTONIC, &amp;_t);\
      printf("%ld.%ld %s:%d: " fmt "\n", _t.tv_sec + _t.tv_nsec / 1000000, __func__, __LINE__, ##__VA_ARGS__);\
  }while(0)
  </code></pre>
  
  <h2>a.c</h2>
  
  <pre><code>struct timespec timeval;
  
  print_line(timeval)
  </code></pre>
  
  <p>getting an error : <code>error: expected ')' before .</code></p>