summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorNiklas Söderlund <niso@kth.se>2012-10-23 13:06:46 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-23 13:06:46 +0000
commitede2fa4d1e5620978f5d630f0b241b613a5992d3 (patch)
tree8d94e7c1a9bfb6d05e5a79935724688e1d64638f /flash.h
parentd7d423bbc1d2564c60daaecd9ab1dca3843c5fea (diff)
downloadflashrom-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 49135360a..0bb6c2ba8 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 */