aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-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;