summaryrefslogtreecommitdiff
path: root/src/rc-update.c
diff options
context:
space:
mode:
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 151cae6..96eb06b 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;