+ s/int install_links/static int install_links/
authorJohn Beppu <beppu@lbox.org>
Tue, 27 Jun 2000 07:54:33 +0000 (07:54 -0000)
committerJohn Beppu <beppu@lbox.org>
Tue, 27 Jun 2000 07:54:33 +0000 (07:54 -0000)
? 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.

applets/busybox.c
busybox.c

index 5f1c56bc3b7ba94e87a785af4655ad9a0516950e..e454bb6ec495275da6e0609952b7370c1027840e 100644 (file)
@@ -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;
 
index 5f1c56bc3b7ba94e87a785af4655ad9a0516950e..e454bb6ec495275da6e0609952b7370c1027840e 100644 (file)
--- 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;