print_wiki.c: print programmers of type OTHER too
Corresponding to flashrom svn r1633.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
diff --git a/print_wiki.c b/print_wiki.c
index 4f34f29..81f7efb 100644
--- a/print_wiki.c
+++ b/print_wiki.c
@@ -373,6 +373,22 @@
}
}
printf("\n|}\n\n|}\n");
+
+ printf("\n== Other programmers ==\n\n"
+ "{%s", th_start);
+ printf("! align=\"left\" | Programmer\n"
+ "! align=\"left\" | Note\n\n");
+
+ for (i = 0; i < PROGRAMMER_INVALID; i++) {
+ static int c = 0;
+ const struct programmer_entry prog = programmer_table[i];
+ if (prog.type == OTHER && prog.devs.note != NULL) {
+ c = !c;
+ printf("|- bgcolor=\"#%s\"\n", (c) ? "eeeeee" : "dddddd");
+ printf("| %s || %s", prog.name, prog.devs.note);
+ }
+ }
+ printf("\n|}\n\n|}\n");
}
void print_supported_wiki(void)