lkml.org 
[lkml]   [1998]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] my latest oom stuff
On Wed, Nov 11, 1998 at 04:58:55AM +0000, Theodore Y. Ts'o wrote:

> If we're going to do that, why don't we just go back to
>
> #define VM_SWAPCTL 1
> #define VM_SMAPOUT 2
>
> ... the way Stephen originally coded it.... ?

enum's are (in theory) more rigid and presumably we make make gcc
complain when people misuse them (ie. assuming an int or something to
them).

Oh, anyone know if egcs will barf on this? (as it should)

{
enum blah { blah1,blah2 };

blah i;

for(i=0;i<10;++i);

}



-cw


-
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:45    [W:0.067 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site