Remark #82: Storage Class is not First

There are several common cases where code will not be executed.

Example #1: from Linux-2.6-rc3 file drivers/net/8139too.c

    507 /* directly indexed by chip_t, above */
    508 const static struct {
    509         const char *name;
    510         u32 version; /* from RTL8139C/RTL8139D docs */
    511         u32 flags;

Line 508 should probably be reworked to be "static const struct"

How to resolve:

Reordering definition should be relatively safe.

SourceForge.net Logo