diff --git a/lib/run_part.c b/lib/run_part.c index 4ac58567..c5d4bd9e 100644 --- a/lib/run_part.c +++ b/lib/run_part.c @@ -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; diff --git a/lib/run_part.h b/lib/run_part.h index 6422134c..889d281c 100644 --- a/lib/run_part.h +++ b/lib/run_part.h @@ -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 */