diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-14 13:14:31 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-14 13:14:31 -0600 |
commit | f43cec34ca0201031fc10b584bcb391859f302cd (patch) | |
tree | 8a2c6b6d548e26040d171eaf170e4318dce7212d /src/rc | |
parent | d64c9d205083ca82823f9f5ff178a5581f6c8b2a (diff) |
rc-status.c: small style changes
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/rc-status.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index 33610fa1..5de97148 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -62,8 +62,7 @@ static RC_STRINGLIST *types; static RC_STRINGLIST *levels, *services, *tmp, *alist; static RC_STRINGLIST *sservices, *nservices, *needsme; -static void -print_level(const char *prefix, const char *level) +static void print_level(const char *prefix, const char *level) { if (prefix) printf("%s ", prefix); @@ -125,8 +124,7 @@ static char *get_uptime(const char *service) return uptime; } -static void -print_service(const char *service) +static void print_service(const char *service) { char *status = NULL; char *uptime = NULL; @@ -182,8 +180,7 @@ print_service(const char *service) free(status); } -static void -print_services(const char *runlevel, RC_STRINGLIST *svcs) +static void print_services(const char *runlevel, RC_STRINGLIST *svcs) { RC_STRINGLIST *l = NULL; RC_STRING *s; @@ -222,8 +219,7 @@ print_services(const char *runlevel, RC_STRINGLIST *svcs) rc_stringlist_free(l); } -static void -print_stacked_services(const char *runlevel) +static void print_stacked_services(const char *runlevel) { RC_STRINGLIST *stackedlevels, *servicelist; RC_STRING *stackedlevel; |