title: expected ')' before '*' token error in c
body: <p>The following is my .h file</p>
  
  <pre><code>  1 typedef int32_t status_t;
    2 typedef u_int16_t pic_id_t;
    3 typedef const char* (*pic_flavor_t) (pic_t *);
    4 typedef status_t (*pic_periodic_t) (pic_t *);
    5 typedef status_t (*pic_get_port_info_t) (pic_t *pic, u_int16_t link,void  *info,boolean *need_update);
    6 
    7 struct pic_
    8 {
    9     u_int16_t   nic_slot;
    10     u_int16_t   pic_slot;
    11     u_int32_t   pic_flags;
    12     pic_id_t    pic_id;
    13     u_int16_t   pic_asic_type;
    14     u_int16_t   pic_firstport;
    15     pic_periodic_t  pic_periodic;
    16     pic_flavor_t    pic_flavor;
    17     pic_get_port_info_t pic_get_port_info;
    18     void *pic_context;
    19 }pic_t;
    20 
  </code></pre>
  
  <p>and these are the errors i have got.</p>
  
  <pre><code>../../../../../src/pfe/common/drivers/rpio/rpio_tunnel_pvt1.h:3: error: expected ')'   before '*' token
  ../../../../../src/pfe/common/drivers/rpio/rpio_tunnel_pvt1.h:4: error: expected ')' before '*' token
  ../../../../../src/pfe/common/drivers/rpio/rpio_tunnel_pvt1.h:5: error: expected ')' before '*' token
  ../../../../../src/pfe/common/drivers/rpio/rpio_tunnel_pvt1.h:15: error: expected specifier-qualifier-list before 'pic_periodic_t'
  </code></pre>
  
  <p>I am trying to create a new .h file for my .c file. Here I am including definitions of a few structures required in my .c file
  I'm unable to tackle these errors.</p>