mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-23 10:06:31 +08:00
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:
parent
db395130d1
commit
6b4487e173
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user