ao-tools: Clean up ao-sym structure an initializers
[fw/altos] / ao-tools / lib / ao-editaltos.c
index a8b64098b80602909636a6fdf135efad6a49b0d0..7547c82c69690eda8de608238b4a6e920f9ba4f5 100644 (file)
 #include "ao-editaltos.h"
 
 struct ao_sym ao_symbols[] = {
-
-       { 0, 0, "ao_romconfig_version", 1 },
-       { 0, 0, "ao_romconfig_check",   1 },
-       { 0, 0, "ao_serial_number", 1 },
-       { 0, 0, "ao_radio_cal", 0 },
-       { 0, 0, "ao_usb_descriptors", 0 },
+       {
+               .name = "ao_romconfig_version",
+               .required = 1
+       },
+       {
+               .name = "ao_romconfig_check",
+               .required = 1
+       },
+       {
+               .name = "ao_serial_number",
+               .required = 1
+       },
+       {
+               .name = "ao_radio_cal",
+               .required = 0
+       },
+       {
+               .name = "ao_usb_descriptors",
+               .required = 0
+       },
 };
 
 #define NUM_SYMBOLS            5