]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Remove static attribute.
authorJim Meyering <jim@meyering.net>
Mon, 25 Jan 1999 14:33:38 +0000 (14:33 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 25 Jan 1999 14:33:38 +0000 (14:33 +0000)
24 files changed:
src/basename.c
src/chroot.c
src/dirname.c
src/echo.c
src/expr.c
src/factor.c
src/hostid.c
src/hostname.c
src/logname.c
src/pinky.c
src/printenv.c
src/printf.c
src/pwd.c
src/seq.c
src/sleep.c
src/stty.c
src/su.c
src/tee.c
src/test.c
src/uptime.c
src/users.c
src/who.c
src/whoami.c
src/yes.c

index beb46d2ec737c6a562273bedffd8e5ccdbc84961..c9aade6b643f8eef706a5aac95ccfa20874928cf 100644 (file)
@@ -39,7 +39,7 @@ void strip_trailing_slashes ();
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 3298f3b61f54c59aff8555f6870be1f567165a2d..76cab5345d589907d3f9c499bb33be8f53c841cd 100644 (file)
@@ -28,7 +28,7 @@
 /* The name this program was run with, for error messages. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index cd18d4605458f6644510d5284e444d14adb9451a..0d4b7af94f7de02c0fe221b73efdae9141c56422 100644 (file)
@@ -30,7 +30,7 @@ void strip_trailing_slashes ();
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index d1d4f4c00f51ed86e95e2b8cb04bb30aecf59ce8..24e4de77b6e4a58cdc69fac95a4aeb60c083a395 100644 (file)
@@ -60,7 +60,7 @@ on System V systems with the -E option.
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 09d5527d598fc58fe808091a9de097971d5edf60..f7cd5ec4652a33f9ba691e4141938fe342a38d70 100644 (file)
@@ -89,7 +89,7 @@ static void tostring PARAMS ((VALUE *v));
 static void trace ();
 #endif
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 1ead217849283e71d149357162a3bef11aa9991f..f98939897ce6364e68107650b44fb0f28bf2a7d9 100644 (file)
@@ -41,7 +41,7 @@
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 558d6e4010284b6afc3be868ff70642b9e432753..5aa31a8436538145a7bd6e4abcff3191d11cf875 100644 (file)
@@ -32,7 +32,7 @@
 /* The name this program was run with, for error messages. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 0ff26fb1ac355b82bca1faca8d0d2f6dd2b53144..e4eeba81057e7aa876ec7e7d38b644e29aa951d1 100644 (file)
@@ -50,7 +50,7 @@ char *xgethostname ();
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index d4f76e2cd37c1f6c631190cabd53a8edac69db28..d66622116c87b283394e7b783a468fcc7a13551d 100644 (file)
@@ -38,7 +38,7 @@ static struct option const long_options[] =
   {0, 0, 0, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 1a6ff3524a36dfa6c9c807dfe9a46d5000842ad2..e07e9f8bc3d7919b5a42a8f72e68bc316d891bde 100644 (file)
@@ -399,7 +399,7 @@ long_pinky (const int argc_names, char *const argv_names[])
     print_long_entry (argv_names[i]);
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 8a85157e3422a6bc2e006bf630d0ce142fe22aa8..dde55d094174101f3f2e149bf3f6baf50cd62b9b 100644 (file)
@@ -54,7 +54,7 @@ static struct option const long_options[] =
 
 extern char **environ;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 836937e16ac2527a4dba8026ad9c66bf7839591f..1ff15a934c38cb640dc5c86140178e7956e2be9b 100644 (file)
@@ -78,7 +78,7 @@ static char *const cfcc_msg =
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 73ec852eba8f987cec8ff785d6c8f5bd7a910fca..c1c67eba3b20263e925e096bd3d3796eaa1f8090 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -30,7 +30,7 @@ char *xgetcwd ();
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 6de5335bc9c2508e99b979d2eadc31e6fc496e8a..f1f1704a3af9ebf7676525c83d7a433275d4e35e 100644 (file)
--- a/src/seq.c
+++ b/src/seq.c
@@ -74,7 +74,7 @@ static struct option const long_options[] =
   { NULL, 0, NULL, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 470b02759208a3afa14b8ac4fddb35ec182fe35f..b0fc4263637aadfda02c8f286a8e1813cf3e8b1a 100644 (file)
@@ -41,7 +41,7 @@ static struct option const long_options[] =
   {0, 0, 0, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 268c87a1b5439ffebcfbc043477e135a146a8538..dce9c988ffaf4d2facd3908e92456dec2013d38a 100644 (file)
@@ -476,7 +476,7 @@ wrapf (const char *message,...)
   current_col += buflen;
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 7585db1ec3a4b85714a53aa2b5981324da52a1c2..155efd4226f49ed870f8482dff760abab478a711 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -423,7 +423,7 @@ restricted_shell (const char *shell)
   return 1;
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index eac1eab3b704d5e7dfc93ee96dbb83cc9c3783e5..b4b3553685eb39fdecf939a4e1f4026a642c4d8c 100644 (file)
--- a/src/tee.c
+++ b/src/tee.c
@@ -55,7 +55,7 @@ static struct option const long_options[] =
   {NULL, 0, NULL, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 2fc3f4d8ec9ce9abdd3bf373dfbdec704b35d24a..1608aa8a282a0d252e8aa9f6c4f338f1dda09778 100644 (file)
@@ -977,7 +977,7 @@ posixtest (void)
 #if defined (TEST_STANDALONE)
 # include "long-options.h"
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 493ae1df5b71107e489c5492b3bc1340fc3e23f6..c52496272cace44e4da5836df3ed6597a77624d4 100644 (file)
@@ -152,7 +152,7 @@ uptime (const char *filename)
   print_uptime (n_users, utmp_buf);
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 84f8b4e05d71676fec5e572712e1558f9752a899..c548249d8b9efaf1adfbf6e8c9b63812402331f5 100644 (file)
@@ -105,7 +105,7 @@ users (const char *filename)
   list_entries_users (n_users, utmp_buf);
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index c9be13c25fd9bfbad763814905c1cdde7a80f541..7fd98d0bf6828ddfe1354d344ab45adae09752b8 100644 (file)
--- a/src/who.c
+++ b/src/who.c
@@ -347,7 +347,7 @@ who_am_i (const char *filename)
   print_entry (utmp_entry);
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 9936a85aff24beafa09037ecd8bb263d8c196c9f..a41859c95e1895b4fc3d6d417b30aee04da292a7 100644 (file)
@@ -42,7 +42,7 @@ static struct option const long_options[] =
   {0, 0, 0, 0}
 };
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
@@ -95,7 +95,6 @@ main (int argc, char **argv)
   if (show_help)
     usage (0);
 
-
   if (optind != argc)
     usage (1);
 
index 244e56af0ee44195f15001ce7193645b23f8d3db..e7a0d09a21f05bf31ab40c05bb6868e72f901f42 100644 (file)
--- a/src/yes.c
+++ b/src/yes.c
@@ -28,7 +28,7 @@
 /* The name this program was run with. */
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)