aboutsummaryrefslogtreecommitdiff
path: root/src/env-update.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-31 16:05:56 +0000
committerRoy Marples <roy@marples.name>2007-07-31 16:05:56 +0000
commitc674026f9e5cf9538101ebc5c19d4da973731ad1 (patch)
tree76c3dd7c0647054d6fff55d5104d1f0977c85c94 /src/env-update.c
parent02fcdeede4d2a14c10a8efcf8edc212b9a085708 (diff)
All our binaries are now mulicalls into rc, which makes our on disk size
a lot smaller.
Diffstat (limited to 'src/env-update.c')
-rw-r--r--src/env-update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/env-update.c b/src/env-update.c
index 5527070d..b20dce59 100644
--- a/src/env-update.c
+++ b/src/env-update.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <unistd.h>
+#include "builtins.h"
#include "einfo.h"
#include "rc.h"
#include "rc-misc.h"
@@ -82,7 +83,7 @@ static struct option longopts[] = {
};
#include "_usage.c"
-int main (int argc, char **argv)
+int env_update (int argc, char **argv)
{
char **files = rc_ls_dir (NULL, ENVDIR, 0);
char *file;