chiark / gitweb /
Make tables for DEFINE_STRING_TABLE_LOOKUP consistent
authorDaniel Mack <zonque@gmail.com>
Fri, 7 Mar 2014 20:38:48 +0000 (21:38 +0100)
committerDaniel Mack <zonque@gmail.com>
Fri, 7 Mar 2014 20:38:48 +0000 (21:38 +0100)
commit2c5859afecee81e345fc9526b1083bf79990ffb8
tree8bc8deeea888c3df4a28a5f94f3ab79da3fe6b30
parentfe8d029277f8077d4537489b358ce7f10d59ecc2
Make tables for DEFINE_STRING_TABLE_LOOKUP consistent

Bring some arrays that are used for DEFINE_STRING_TABLE_LOOKUP() in the
same order than the enums they reference.

Also, pass the corresponding _MAX value to the array initalizer where
appropriate.
src/core/job.c
src/core/path.c
src/core/unit.c
src/journal/journald-server.c
src/login/logind-session.c
src/network/networkd-netdev.c
src/shared/log.c
src/udev/net/ethtool-util.c
src/udev/net/link-config.c