aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-14 13:14:31 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-14 13:14:31 -0600
commitf43cec34ca0201031fc10b584bcb391859f302cd (patch)
tree8a2c6b6d548e26040d171eaf170e4318dce7212d /src
parentd64c9d205083ca82823f9f5ff178a5581f6c8b2a (diff)
rc-status.c: small style changes
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-status.c12
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;