tools: aisimage: Make aisimage_check_params() static
We are trying to enable -Wmissing-prototypes and this functiion is only used locally. Mark it as static. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
6139d5f252
commit
544bf0aa59
@@ -387,7 +387,7 @@ static void aisimage_set_header(void *ptr, struct stat *sbuf, int ifd,
|
||||
{
|
||||
}
|
||||
|
||||
int aisimage_check_params(struct image_tool_params *params)
|
||||
static int aisimage_check_params(struct image_tool_params *params)
|
||||
{
|
||||
if (!params)
|
||||
return CFG_INVALID;
|
||||
|
||||
Reference in New Issue
Block a user