aboutsummaryrefslogtreecommitdiff
path: root/src/rc-update.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-04 15:05:12 +0000
committerRoy Marples <roy@marples.name>2007-08-04 15:05:12 +0000
commit3e5526fd764a2701575e73e88293933c4e7bbd45 (patch)
tree9e1676d3711ad3bcceeed2c20781efbe19bcb3dd /src/rc-update.c
parent9169c51d39ed17b98f6617f89fdf9d01723bff52 (diff)
Fix rc-update, #187487 and release rc2.
Diffstat (limited to 'src/rc-update.c')
-rw-r--r--src/rc-update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc-update.c b/src/rc-update.c
index 151cae6c..96eb06bb 100644
--- a/src/rc-update.c
+++ b/src/rc-update.c
@@ -13,6 +13,7 @@
#include <string.h>
#include <unistd.h>
+#include "builtins.h"
#include "einfo.h"
#include "rc.h"
#include "rc-misc.h"
@@ -45,7 +46,7 @@ static bool add (const char *runlevel, const char *service)
return (retval);
}
-int main (int argc, char **argv)
+int rc_update (int argc, char **argv)
{
int i;
int j;