From: Davin McCall Date: Fri, 19 Jan 2018 10:15:25 +0000 (+0000) Subject: Rename getShutdownType function - eliminate snake case. X-Git-Tag: v0.08~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2747a6f366b9a9f5f1b0255ea3df32d36d88f8ab;p=oweals%2Fdinit.git Rename getShutdownType function - eliminate snake case. --- diff --git a/src/dinit.cc b/src/dinit.cc index 1054032..c2247aa 100644 --- a/src/dinit.cc +++ b/src/dinit.cc @@ -336,7 +336,7 @@ int dinit_main(int argc, char **argv) event_loop.run(); } - shutdown_type_t shutdown_type = services->getShutdownType(); + shutdown_type_t shutdown_type = services->get_shutdown_type(); if (am_system_init) { log_msg_begin(loglevel_t::INFO, "No more active services."); diff --git a/src/includes/service.h b/src/includes/service.h index 4e9aafa..be9d94c 100644 --- a/src/includes/service.h +++ b/src/includes/service.h @@ -820,7 +820,7 @@ class service_set return restart_enabled; } - shutdown_type_t getShutdownType() noexcept + shutdown_type_t get_shutdown_type() noexcept { return shutdown_type; }