Re: [FIXES] 2.1.125

Jens Axboe (axboe@image.dk)
Sat, 10 Oct 1998 13:50:24 +0200


Adam Sulmicki wrote:
> Sorry, I should have tested it more thoroughly. Here are updated, correct, patches.
> [btw: can someone explain me why in linux kernel I can't declare var inside of the proc,
> but instead it has to be at beginning of it. I think in 'normal' c programs you can do that]

In C++ you can declare variables where you want, almost, but
in ANSI C you have to declare all variables at the beginning.

--
Jens Axboe

"The only thing that interferes with my learning is my education." -- A. Einstein

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/