From 9e663ee97fb54af44eae2fb356a122c7c33fd0b3 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Tue, 23 Oct 2012 13:06:46 +0000 Subject: 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. --- flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flash.h') 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 */ -- cgit v1.1