title: Operator overloading in C
body: <p>I am trying to overload some operators:</p>
  
  <pre><code>/* Typedef is required for operators */
  typedef int Colour;
  
  /* Operators */
  Colour operator+(Colour colour1, Colour colour2);
  Colour operator-(Colour colour1, Colour colour2);
  Colour operator*(Colour colour1, Colour colour2);
  Colour operator/(Colour colour1, Colour colour2);
  </code></pre>
  
  <p>I get this error for each tried overloading:</p>
  
  <pre><code>expected '=', ',', ';', 'asm' or '__attribute__' before '+' token
  </code></pre>
  
  <p>I can't find any good documentation on operator overloading. Googling results in C++ tutorials which use classes. In C there are no classes. Can anyone help me? Thanks.</p>