Messages in this thread | | | Subject | Re: [FIXES] 2.1.125 | From | Andi Kleen <> | Date | 11 Oct 1998 09:01:55 +0200 |
| |
axboe@image.dk (Jens Axboe) writes:
> 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.
This is fixed in the upcoming ISO C9x standard.
-Andi
- 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/
| |