summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-23 13:06:46 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-23 13:06:46 +0000
commit9e663ee97fb54af44eae2fb356a122c7c33fd0b3 (patch)
tree8d94e7c1a9bfb6d05e5a79935724688e1d64638f /flash.h
parent9dc1c1e48bd8b50e315329798efcd8154d7f303f (diff)
downloadflashrom-9e663ee97fb54af44eae2fb356a122c7c33fd0b3.zip
flashrom-9e663ee97fb54af44eae2fb356a122c7c33fd0b3.tar.gz
Remove exit calls from print_supported_chips
Propagate the error code using return values instead, but let cli_classic.c still decide the ultimate return value of the process. Also, remove setting the ret value again after print_supported_wiki() - success is the default. Binary file (standard input) matches Corresponding to flashrom svn r1614.
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 4913536..0bb6c2b 100644
--- a/flash.h
+++ b/flash.h
@@ -214,7 +214,7 @@ void chip_readn(const struct flashctx *flash, uint8_t *buf, const chipaddr addr,
/* print.c */
char *flashbuses_to_text(enum chipbustype bustype);
-void print_supported(void);
+int print_supported(void);
void print_supported_wiki(void);
/* flashrom.c */
OpenPOWER on IntegriCloud