title: explicit type is missing ("int" assumed)
body: <p>i am trying to develop a project with IAR.
  here is the error message:
  Error[Pe260]: explicit type is missing ("int" assumed) </p>
  
  <p>Regards.</p>
  
  <p>When i try:
  void send_data_byte(unsigned char dattt) {<br>
  i see a new error:
  Error[Pe159]: declaration is incompatible with previous "send_data_command" </p>
  
  <p>my sen_data_command function in is on the below</p>
  
  <pre><code>send_data_byte(unsigned char dattt){  
     for(j=0;j&lt;8;j++){  
   pwmstart(1);  
   pwmstop(18);  
    if(dattt &amp; 0x01){  
      __delay_cycles(1687);
    dattt=dattt&gt;&gt;1;  
    }  
   else  
    {  
   __delay_cycles(562); 
     dattt=dattt&gt;&gt;1;  
    }  
    }  
   pwmstop(1);  
  
  
    }  
  </code></pre>
  
  <pre><code>  void send_data_command(unsigned char dat){  
  
   for (int r=0;r&lt;160;r++)
     {pwmstart(1);}  
   for (int y=0;y&lt;80;y++)
     {pwmstop(1);} 
    send_data_byte(dat);  
    repeat();  
    }  
  </code></pre>