[haiku-commits] r40676 - haiku/trunk/src/system/libroot/os

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Thu, 24 Feb 2011 22:55:55 -0500

On Thursday, February 24, 2011,  <stpere@xxxxxxxxx> wrote:
> Fix build on gcc2.
> (Note, I honestly have no idea what was initially wrong with the code;
> everything seamt right to me..)

It's C code, the variables have to be declared at the top of a block,
as you fixed it. Korli may not have tried to compile it, or he used
GCC4 which maybe is more lenient.


Other related posts: