lkml.org 
[lkml]   [1998]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [FIXES] 2.1.125
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.141 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site