From: Lennart Poettering Date: Wed, 24 Oct 2018 17:03:04 +0000 (+0200) Subject: service: rename service_reset_watchdog_timeout() → service_override_watchdog_timeout() X-Git-Tag: v240~462^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95d0d8ed0abdbdf5d66e663f4a2d6327cd074ab1;p=thirdparty%2Fsystemd.git service: rename service_reset_watchdog_timeout() → service_override_watchdog_timeout() This is what the function really does, hence name it that way. --- diff --git a/src/core/service.c b/src/core/service.c index 15ceee7baf8..cd33e218b64 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -293,7 +293,7 @@ static void service_reset_watchdog(Service *s) { service_start_watchdog(s); } -static void service_reset_watchdog_timeout(Service *s, usec_t watchdog_override_usec) { +static void service_override_watchdog_timeout(Service *s, usec_t watchdog_override_usec) { assert(s); s->watchdog_override_enable = true; @@ -3774,7 +3774,7 @@ static void service_notify_message( if (safe_atou64(e, &watchdog_override_usec) < 0) log_unit_warning(u, "Failed to parse WATCHDOG_USEC=%s", e); else - service_reset_watchdog_timeout(s, watchdog_override_usec); + service_override_watchdog_timeout(s, watchdog_override_usec); } /* Process FD store messages. Either FDSTOREREMOVE=1 for removal, or FDSTORE=1 for addition. In both cases,