title: Declaration is incompatible
body: <p>I was working with IAR Embedded Workbench, using C language. </p>
  
  <p>I had some trouble while dividing my project into the usual main/.h/.c form.</p>
  
  <p>For example, if i create an example.h</p>
  
  <pre><code>#ifndef EXAMPLE_H
  #define EXAMPLE_H
  void function(int [], int);
  #endif
  </code></pre>
  
  <p>And than an example.c</p>
  
  <pre><code>#include "example.h"
  void function (int[] array, int number)
  {number = 1; //code
  }
  </code></pre>
  
  <p>It says:</p>
  
  <pre><code>Error[Pe147]: declaration is incompatible with "__interwork __softfp 
  void function(int *, int)" (declared at line 4 of  (path)
  
  Error[Pe141]: unnamed prototyped parameters not allowed when body is       present  (path)
  
  
  Error[Pe020]: identifier "number" is undefined  (path)
  
  Error while running C/C++ Compiler 
  </code></pre>