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:
committed by
Iker Pedrosa
parent
db395130d1
commit
6b4487e173
+1
-1
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user