(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
authorJim Meyering <jim@meyering.net>
Sat, 16 Jan 1999 15:34:59 +0000 (15:34 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 16 Jan 1999 15:34:59 +0000 (15:34 +0000)
src/dd.c
src/df.c
src/du.c
src/mkdir.c
src/mkfifo.c
src/mknod.c
src/rm.c
src/rmdir.c
src/sync.c

index 5a4b06b..823c8c6 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -279,7 +279,7 @@ static struct option const long_options[] =
   {0, 0, 0, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index a036d51..9f3da26 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -574,7 +574,7 @@ add_excluded_fs_type (const char *fstype)
   fs_exclude_list = fsp;
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 9c0c3b7..d2b4b48 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -199,7 +199,7 @@ static struct option const long_options[] =
   {NULL, 0, NULL, 0}
 };
 
-static void
+void
 usage (int status, char *reason)
 {
   if (reason != NULL)
index d19f64c..a6223c6 100644 (file)
@@ -50,7 +50,7 @@ static struct option const longopts[] =
   {NULL, 0, NULL, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index caf9583..aab0435 100644 (file)
@@ -50,7 +50,7 @@ static struct option const longopts[] =
 };
 
 #ifdef S_ISFIFO
-static void
+void
 usage (int status)
 {
   if (status != 0)
index eb17e0c..47df197 100644 (file)
@@ -55,7 +55,7 @@ static struct option const longopts[] =
   {NULL, 0, NULL, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index b3fa54d..8cecdff 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -78,7 +78,7 @@ static struct option const long_opts[] =
   {NULL, 0, NULL, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index cdaac5b..ca8d1b4 100644 (file)
@@ -115,7 +115,7 @@ remove_parents (char *path)
   return fail;
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index fdbeb78..d4f811f 100644 (file)
@@ -29,7 +29,7 @@
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)