Re: Comma at end of enum lists

From: H. Peter Anvin
Date: Sat Mar 29 2008 - 13:54:54 EST


Al Viro wrote:

when you know there won't any additions past the last line (for that matter,
ending it with
Baz,
Sentry_foo,
Max_foo = Sentry_foo - 1
}; is also an option, in which case the end of enum will never be touched
at all).


Yes, that's a very important exception. Don't put the comma in if you want the set to be actively closed.

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