title: C Structs--error: parameter name omitted
body: <p>I am receiving the following error for the following code:</p>
  
  <pre><code>kernel/proc.c: In function ‘getpinfo’:
  kernel/proc.c:495: error: parameter name omitted
  </code></pre>
  
  <p>The code is as follows:</p>
  
  <pre><code>int 
  getpinfo(struct pstat *)
  {
  }
  </code></pre>
  
  <p>Can you please tell me what I am missing about the struct or the code?</p>