lib/run_part: Reduce visibility

The run_part function is only used in run_part.c itself, so no
need to expose it to other files.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
Tobias Stoeckmann 2024-09-13 21:50:00 +02:00 committed by Iker Pedrosa
parent db395130d1
commit 6b4487e173
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@
#include "shadowlog_internal.h"
int run_part (char *script_path, const char *name, const char *action)
static int run_part (char *script_path, const char *name, const char *action)
{
pid_t pid;
int wait_status;

View File

@ -1,7 +1,6 @@
#ifndef _RUN_PART_H
#define _RUN_PART_H
int run_part (char *script_path, const char *name, const char *action);
int run_parts (const char *directory, const char *name, const char *action);
#endif /* _RUN_PART_H */