mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Extract cli_output declarations to a separate header.
This is a simple refactor that aims to simplify maintenance and to clarify file dependency inside the project. Currently, many declarations reside in flash.h making it difficult to really understand file dependency. Change-Id: I4209d5ed205ca14c39e83aa923e103b7282a7059 Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/85134 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
e15c1783e7
commit
b792b44e14
@ -726,14 +726,7 @@ struct cli_progress {
|
||||
/* cli_common.c */
|
||||
void print_chip_support_status(const struct flashchip *chip);
|
||||
|
||||
/* cli_output.c */
|
||||
extern enum flashrom_log_level verbose_screen;
|
||||
extern enum flashrom_log_level verbose_logfile;
|
||||
int open_logfile(const char * const filename);
|
||||
int close_logfile(void);
|
||||
void start_logging(void);
|
||||
int flashrom_print_cb(enum flashrom_log_level level, const char *fmt, va_list ap);
|
||||
void flashrom_progress_cb(struct flashrom_flashctx *flashctx);
|
||||
/* libflashrom.c */
|
||||
/* Let gcc and clang check for correct printf-style format strings. */
|
||||
int print(enum flashrom_log_level level, const char *fmt, ...)
|
||||
#ifdef __MINGW32__
|
||||
|
Reference in New Issue
Block a user