diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-10-23 13:06:46 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-10-23 13:06:46 +0000 |
commit | 9e663ee97fb54af44eae2fb356a122c7c33fd0b3 (patch) | |
tree | 8d94e7c1a9bfb6d05e5a79935724688e1d64638f /flash.h | |
parent | 9dc1c1e48bd8b50e315329798efcd8154d7f303f (diff) | |
download | flashrom-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |