mirror of
https://github.com/troglobit/finit.git
synced 2026-11-20 19:41:51 +00:00
Minor, use () to denote function in comments
To distinguish between variables and functions in comments Finit use () at the end of function names. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
34e4d31219
commit
8da1505454
1 file changed
+4
-4
@@ -352,7 +352,7 @@ static int service_restart(svc_t *svc)
|
|||||||
*
|
*
|
||||||
* Second stage of dynamic reload. Called either directly from first
|
* Second stage of dynamic reload. Called either directly from first
|
||||||
* stage if no services had to be stopped, or later from
|
* stage if no services had to be stopped, or later from
|
||||||
* service_monitor once all stopped services have been collected.
|
* service_monitor() once all stopped services have been collected.
|
||||||
*/
|
*/
|
||||||
static void service_reload_dynamic_finish(void)
|
static void service_reload_dynamic_finish(void)
|
||||||
{
|
{
|
||||||
@@ -391,7 +391,7 @@ void service_reload_dynamic(void)
|
|||||||
service_step_all(SVC_TYPE_SERVICE | SVC_TYPE_INETD);
|
service_step_all(SVC_TYPE_SERVICE | SVC_TYPE_INETD);
|
||||||
|
|
||||||
/* Need to wait for any services to stop? If so, exit early
|
/* Need to wait for any services to stop? If so, exit early
|
||||||
* and perform second stage from service_monitor later. */
|
* and perform second stage from service_monitor() later. */
|
||||||
if (!service_stop_is_done())
|
if (!service_stop_is_done())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -404,7 +404,7 @@ void service_reload_dynamic(void)
|
|||||||
*
|
*
|
||||||
* Second stage of runlevel change. Called either directly from first
|
* Second stage of runlevel change. Called either directly from first
|
||||||
* stage if no services had to be stopped, or later from
|
* stage if no services had to be stopped, or later from
|
||||||
* service_monitor once all stopped services have been collected.
|
* service_monitor() once all stopped services have been collected.
|
||||||
*/
|
*/
|
||||||
static void service_runlevel_finish(void)
|
static void service_runlevel_finish(void)
|
||||||
{
|
{
|
||||||
@@ -467,7 +467,7 @@ void service_runlevel(int newlevel)
|
|||||||
service_step_all(SVC_TYPE_ANY);
|
service_step_all(SVC_TYPE_ANY);
|
||||||
|
|
||||||
/* Need to wait for any services to stop? If so, exit early
|
/* Need to wait for any services to stop? If so, exit early
|
||||||
* and perform second stage from service_monitor later. */
|
* and perform second stage from service_monitor() later. */
|
||||||
if (!service_stop_is_done())
|
if (!service_stop_is_done())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user