summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Beppu2000-06-27 07:54:33 +0000
committerJohn Beppu2000-06-27 07:54:33 +0000
commit495869f59a6cb9be0c180d945fcc03b96949d850 (patch)
treece5a523ce1ce9afdd509e4fd6ffefb9818aef57d
parentcb1d841f0943fc1550a5f93be62d5cedab95ecfc (diff)
downloadbusybox-495869f59a6cb9be0c180d945fcc03b96949d850.zip
busybox-495869f59a6cb9be0c180d945fcc03b96949d850.tar.gz
+ s/int install_links/static int install_links/
? Did you want "busybox --install" or "busybox install" ? The TODO and mailing-list conflict on this issue. I would recommend against "busybox install", because people might confuse it w/ /usr/bin/install that does something different.
-rw-r--r--applets/busybox.c2
-rw-r--r--busybox.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 5f1c56b..e454bb6 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -377,7 +377,7 @@ static char* install_dir[] = {
typedef int (*__link_f)(const char *, const char *);
/* create (sym)links for each applet */
-int install_links(const char *busybox, int use_symbolic_links)
+static int install_links(const char *busybox, int use_symbolic_links)
{
__link_f Link = link;
diff --git a/busybox.c b/busybox.c
index 5f1c56b..e454bb6 100644
--- a/busybox.c
+++ b/busybox.c
@@ -377,7 +377,7 @@ static char* install_dir[] = {
typedef int (*__link_f)(const char *, const char *);
/* create (sym)links for each applet */
-int install_links(const char *busybox, int use_symbolic_links)
+static int install_links(const char *busybox, int use_symbolic_links)
{
__link_f Link = link;