From 84432107d4c71fab0ab00a874cdf0406459c1f4d Mon Sep 17 00:00:00 2001 From: Otavio Pontes Date: Tue, 14 Apr 2020 08:57:36 -0700 Subject: [PATCH] target_root: Function should be static Signed-off-by: Otavio Pontes --- src/target_root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target_root.c b/src/target_root.c index 7a763675..78940fe7 100644 --- a/src/target_root.c +++ b/src/target_root.c @@ -64,7 +64,7 @@ static int create_staging_renamedir(char *rename_tmpdir) //TODO: "stage_single_file is currently not able to be run in parallel" /* Consider adding a remove_leftovers() that runs in verify/fix in order to * allow this function to mkdtemp create folders for parallel build */ -enum swupd_code stage_single_file(struct file *file, struct manifest *mom) +static enum swupd_code stage_single_file(struct file *file, struct manifest *mom) { char *statfile = NULL; char *dir, *base;