tools: ublimage: Make ublimage_check_params() static
This functions is only used locally and triggers a warning when compiling with -Wmissing-prototypes. Mark it as static. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
2115ec51d4
commit
d2a5bb2104
@@ -219,7 +219,7 @@ static void ublimage_set_header(void *ptr, struct stat *sbuf, int ifd,
|
||||
parse_cfg_file(ublhdr, params->imagename);
|
||||
}
|
||||
|
||||
int ublimage_check_params(struct image_tool_params *params)
|
||||
static int ublimage_check_params(struct image_tool_params *params)
|
||||
{
|
||||
if (!params)
|
||||
return CFG_INVALID;
|
||||
|
||||
Reference in New Issue
Block a user