diff options
author | Andrew Morton <akpm@osdl.org> | 2003-08-31 04:29:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-31 04:29:17 -0700 |
commit | 64c7bdeb36a7be6d036c0f8f2c84325359be0375 (patch) | |
tree | ff621511cff884cb87fc99d154a837433ba1f921 /scripts | |
parent | 96153507b070567d1102978ac13d09a66e028343 (diff) | |
download | history-64c7bdeb36a7be6d036c0f8f2c84325359be0375.tar.gz |
[PATCH] c99 struct initialiser conversions
From: CaT <cat@zip.com.au>
Convert a whole bunch of struct initialisers into c99 format.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/symbol.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 11318d95d60171..01c766ed1cc8ef 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -12,21 +12,21 @@ #include "lkc.h" struct symbol symbol_yes = { - name: "y", - curr: { "y", yes }, - flags: SYMBOL_YES|SYMBOL_VALID, + .name = "y", + .curr = { "y", yes }, + .flags = SYMBOL_YES|SYMBOL_VALID, }, symbol_mod = { - name: "m", - curr: { "m", mod }, - flags: SYMBOL_MOD|SYMBOL_VALID, + .name = "m", + .curr = { "m", mod }, + .flags = SYMBOL_MOD|SYMBOL_VALID, }, symbol_no = { - name: "n", - curr: { "n", no }, - flags: SYMBOL_NO|SYMBOL_VALID, + .name = "n", + .curr = { "n", no }, + .flags = SYMBOL_NO|SYMBOL_VALID, }, symbol_empty = { - name: "", - curr: { "", no }, - flags: SYMBOL_VALID, + .name = "", + .curr = { "", no }, + .flags = SYMBOL_VALID, }; int sym_change_count; |