From: Jim Meyering Date: Sat, 16 Jan 1999 15:34:59 +0000 (+0000) Subject: (usage): Don't make it static so that it can be called from libfu.a by xargmatch. X-Git-Tag: TEXTUTILS-1_22h~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20bc02752b9a71e5bf0123320eb959c267d2a731;p=thirdparty%2Fcoreutils.git (usage): Don't make it static so that it can be called from libfu.a by xargmatch. --- diff --git a/src/dd.c b/src/dd.c index 5a4b06b044..823c8c62a7 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 a036d510b2..9f3da262e0 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 9c0c3b78fa..d2b4b483a4 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 d19f64c292..a6223c6233 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 caf95837af..aab0435584 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 eb17e0c52a..47df1974cb 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 b3fa54de2c..8cecdff7ca 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 cdaac5bf83..ca8d1b4179 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 fdbeb7823e..d4f811f3c8 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)