From 82ccad68d46d4b10a928bc860c0feedf26e483e3 Mon Sep 17 00:00:00 2001 From: Mateusz Kusiak Date: Wed, 20 Nov 2024 19:01:30 +0000 Subject: Refactor continue_via_systemd() Refactor continue_via_systemd() and it's calls to make it more readable. No functional changes. Signed-off-by: Mateusz Kusiak --- mdadm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index 6062e167..e84c341c 100644 --- a/mdadm.h +++ b/mdadm.h @@ -1694,7 +1694,7 @@ extern int same_dev(char *one, char *two); extern int compare_paths (char* path1,char* path2); extern void enable_fds(int devices); extern void manage_fork_fds(int close_all); -extern int continue_via_systemd(char *devnm, char *service_name, char *prefix); +extern mdadm_status_t continue_via_systemd(char *devnm, char *service_name, char *prefix); extern void ident_init(struct mddev_ident *ident); extern mdadm_status_t ident_set_devname(struct mddev_ident *ident, const char *devname); -- cgit v1.2.3