title: C Header file error: expected identifier or ‘(’ before ‘[’ token
body: <p>I'm a complete c newb. I'm trying to define a few functions in a header file and then implement them in a separate file. But when I try running <code>gcc runtime.c</code> I get the following error: </p>
  
  <pre><code>In file included from runtime.c:1:
  runtime.h:7: error: expected identifier or ‘(’ before ‘[’ token
  </code></pre>
  
  <p>Here's the contents of runtime.h:</p>
  
  <pre><code>#ifndef HEADER
  #define HEADER
  
  /*given two arrays of ints, add them
  
   */
  int[] * _addInts(int[] *x, int[] *y);
  
  #endif
  </code></pre>
  
  <p>What's the error? I tried browsing header files but they started adding things like "extern" and "intern" and crazy ifdef's. Thanks for your help, Kevin</p>