This commit is contained in:
Roy Marples 2009-01-10 12:18:00 +00:00
parent 36c53e7551
commit 26f70a5277

View File

@ -50,7 +50,8 @@ extern const char *applet;
* 0 = no changes (nothing to do)
* 1+ = number of runlevels updated
*/
static int add (const char *runlevel, const char *service)
static int
add(const char *runlevel, const char *service)
{
int retval = -1;
@ -70,7 +71,8 @@ static int add (const char *runlevel, const char *service)
return retval;
}
static int delete (const char *runlevel, const char *service)
static int
delete(const char *runlevel, const char *service)
{
int retval = -1;
@ -90,7 +92,8 @@ static int delete (const char *runlevel, const char *service)
return retval;
}
static void show (RC_STRINGLIST *runlevels, bool verbose)
static void
show(RC_STRINGLIST *runlevels, bool verbose)
{
RC_STRINGLIST *services = rc_services_in_runlevel(NULL);
RC_STRING *service;
@ -148,7 +151,8 @@ static const char * const longopts_help[] = {
#define DODELETE (1 << 2)
#define DOSHOW (1 << 3)
int rc_update(int argc, char **argv)
int
rc_update(int argc, char **argv)
{
RC_STRINGLIST *runlevels;
RC_STRING *runlevel;