summaryrefslogtreecommitdiffstats
path: root/print_wiki.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-17 09:57:34 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-17 09:57:34 +0000
commitf52920581d07df19e1ef7c00aa7d1a1dc2a83b8f (patch)
tree62e7a6f0fe09535ffcfc679a991c2ca3d665f2d4 /print_wiki.c
parent6161ff188089f6672bffa19f24161afc87775ab8 (diff)
downloadast2050-flashrom-f52920581d07df19e1ef7c00aa7d1a1dc2a83b8f.zip
ast2050-flashrom-f52920581d07df19e1ef7c00aa7d1a1dc2a83b8f.tar.gz
Refactor main loop in preparation of libflashrom
To prepare for libflashrom I wanted to make the main loop more readable and more correct and factor out stuff which can be useful in libflashrom. - Factor out printing of supported devices to print.c. - Adjust name of wiki printing function to fit the pattern. - Abort if the user specified --verify and --noverify at the same time. - Check for extra parameters which don't fit commandline syntax. Corresponding to flashrom svn r766. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'print_wiki.c')
-rw-r--r--print_wiki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_wiki.c b/print_wiki.c
index c00e93a..825aa77 100644
--- a/print_wiki.c
+++ b/print_wiki.c
@@ -539,7 +539,7 @@ void print_supported_pcidevs_wiki(struct pcidev_status *devs)
}
}
-void print_wiki_tables(void)
+void print_supported_wiki(void)
{
time_t t = time(NULL);
OpenPOWER on IntegriCloud