]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(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 5a4b06b044be56def0bea7331c8f4a5a14b290ba..823c8c62a7b309fb436ce440def2d5e64db53e97 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 a036d510b23abdc87623dfb4f8df026d322825b0..9f3da262e04718ca81861dd00217de6b5155b6c7 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 9c0c3b78fabc663bbfbb5278d5a9df63ecb1e745..d2b4b483a45847f6de48fa4fb87988d52d1a3665 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 d19f64c2926c5326ed6ea31fe83e131bd566301e..a6223c623361acb1bb9eacef50f172146fd80de6 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 caf95837afaa71b65bf10f756a9a2b09d42cf96c..aab04355841a6b1afa09499a640bb120cff8c30f 100644 (file)
@@ -50,7 +50,7 @@ static struct option const longopts[] =
 };
 
 #ifdef S_ISFIFO
-static void
+void
 usage (int status)
 {
   if (status != 0)
index eb17e0c52a4a4312fbd4627b15c43259d6ccbe7d..47df1974cbcea363f36df4cd2d74fa23b793a7f5 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 b3fa54de2c561d485a2fd89337a9348bc8dce309..8cecdff7cab25e67e583b900078a9fe55b66a013 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 cdaac5bf83cac3b4ddbcbc24eaf65e51149904a6..ca8d1b4179cd76b688f622c8919ca1f79e03893b 100644 (file)
@@ -115,7 +115,7 @@ remove_parents (char *path)
   return fail;
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index fdbeb7823e41210258da0c7229d38937a15608b7..d4f811f3c8e7e1df7647e3520bdbb3799ab77107 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)