Rename getShutdownType function - eliminate snake case.
authorDavin McCall <davmac@davmac.org>
Fri, 19 Jan 2018 10:15:25 +0000 (10:15 +0000)
committerDavin McCall <davmac@davmac.org>
Fri, 19 Jan 2018 10:15:25 +0000 (10:15 +0000)
src/dinit.cc
src/includes/service.h

index 105403279ff821a7bfc3e78ad4ccf7367bfcb283..c2247aab4d0f4f565d5d03d6fd8bccc99abf9c23 100644 (file)
@@ -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.");
index 4e9aafa3cdbabcf35ce18de94655b2841e76e4bb..be9d94c40c16b62e7300e02fa56bf36ad8e47223 100644 (file)
@@ -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;
     }