title: conflicting declarations for variable, type redeclared
body: <p>I have these errors and a warning... I'm quite new to programming and I have no idea what it means. Can you guys take a look at this and tell me what I'm doing wrong?</p>
  <p>Thanks in advance</p>
  <p>Errors and warning:</p>
  <pre>
  Looplicht v2.0.c:226: warning: (361) function declared implicit int
  Looplicht v2.0.c:237: error: (984) type redeclared
  Looplicht v2.0.c:237: error: (1098) conflicting declarations for variable "integer_reverse" (Looplicht v2.0.c:237)
  </pre>
  <p>code with errors (I have placed the linenumbers of the errors in the description):</p>
  <pre><code>void mode_single_right() {
  
  output_integer = 0x0001;        //start right
  
      for (unsigned char i = 0; i &lt; number_of_outputs; i++) {
          if (jump) {
              jump = 0;
              
              output_integer = integer_reverse(output_integer);       //line 226
              switch_outputs(output_integer);                         
              output_integer = (output_integer &lt;&lt; 1);                 
          } else {
              i--;
          }
      }
  
  
  }
  
  unsigned int integer_reverse (unsigned int input_br) {          //line 237
  
  unsigned int output_br = 0;
  bit bit_in_reverse = 0;
  
  for (unsigned char ibr = 0; ibr &lt; 16; ++ibr) {
  
      bit_in_reverse = input_br &amp; 0x01;
      output_br |= bit_in_reverse;
      input_br &gt;&gt;= 1;
      output_br &lt;&lt;= 1;
  }
  return output_br;
  }
  </code></pre>