summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-16 15:34:59 +0000
committerJim Meyering <jim@meyering.net>1999-01-16 15:34:59 +0000
commit20bc02752b9a71e5bf0123320eb959c267d2a731 (patch)
tree5bc89e476bf154c46975f63c2a47358cf0cb649a /src
parent410a3c94e89b557f4cb4a9ad1c09db9e31673e34 (diff)
downloadcoreutils-20bc02752b9a71e5bf0123320eb959c267d2a731.tar.xz
(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c2
-rw-r--r--src/df.c2
-rw-r--r--src/du.c2
-rw-r--r--src/mkdir.c2
-rw-r--r--src/mkfifo.c2
-rw-r--r--src/mknod.c2
-rw-r--r--src/rm.c2
-rw-r--r--src/rmdir.c2
-rw-r--r--src/sync.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/dd.c b/src/dd.c
index 5a4b06b04..823c8c62a 100644
--- 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)
diff --git a/src/df.c b/src/df.c
index a036d510b..9f3da262e 100644
--- 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)
diff --git a/src/du.c b/src/du.c
index 9c0c3b78f..d2b4b483a 100644
--- 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)
diff --git a/src/mkdir.c b/src/mkdir.c
index d19f64c29..a6223c623 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -50,7 +50,7 @@ static struct option const longopts[] =
{NULL, 0, NULL, 0}
};
-static void
+void
usage (int status)
{
if (status != 0)
diff --git a/src/mkfifo.c b/src/mkfifo.c
index caf95837a..aab043558 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -50,7 +50,7 @@ static struct option const longopts[] =
};
#ifdef S_ISFIFO
-static void
+void
usage (int status)
{
if (status != 0)
diff --git a/src/mknod.c b/src/mknod.c
index eb17e0c52..47df1974c 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -55,7 +55,7 @@ static struct option const longopts[] =
{NULL, 0, NULL, 0}
};
-static void
+void
usage (int status)
{
if (status != 0)
diff --git a/src/rm.c b/src/rm.c
index b3fa54de2..8cecdff7c 100644
--- 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)
diff --git a/src/rmdir.c b/src/rmdir.c
index cdaac5bf8..ca8d1b417 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -115,7 +115,7 @@ remove_parents (char *path)
return fail;
}
-static void
+void
usage (int status)
{
if (status != 0)
diff --git a/src/sync.c b/src/sync.c
index fdbeb7823..d4f811f3c 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -29,7 +29,7 @@
/* The name this program was run with. */
char *program_name;
-static void
+void
usage (int status)
{
if (status != 0)