diff options
author | Niklas Söderlund <niso@kth.se> | 2012-10-23 13:06:46 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-10-23 13:06:46 +0000 |
commit | ede2fa4d1e5620978f5d630f0b241b613a5992d3 (patch) | |
tree | 8d94e7c1a9bfb6d05e5a79935724688e1d64638f /flash.h | |
parent | d7d423bbc1d2564c60daaecd9ab1dca3843c5fea (diff) | |
download | flashrom-ede2fa4d1e5620978f5d630f0b241b613a5992d3.tar.gz flashrom-ede2fa4d1e5620978f5d630f0b241b613a5992d3.tar.bz2 flashrom-ede2fa4d1e5620978f5d630f0b241b613a5992d3.zip |
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.
Corresponding to flashrom svn r1614.
Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
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 */ |