From 20bc02752b9a71e5bf0123320eb959c267d2a731 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 16 Jan 1999 15:34:59 +0000 Subject: (usage): Don't make it static so that it can be called from libfu.a by xargmatch. --- src/dd.c | 2 +- src/df.c | 2 +- src/du.c | 2 +- src/mkdir.c | 2 +- src/mkfifo.c | 2 +- src/mknod.c | 2 +- src/rm.c | 2 +- src/rmdir.c | 2 +- src/sync.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-54-g00ecf