(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 beb46d2..c9aade6 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 3298f3b..76cab53 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 cd18d46..0d4b7af 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 d1d4f4c..24e4de7 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 09d5527..f7cd5ec 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 1ead217..f989398 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 558d6e4..5aa31a8 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 0ff26fb..e4eeba8 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 d4f76e2..d666221 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 1a6ff35..e07e9f8 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 8a85157..dde55d0 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 836937e..1ff15a9 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 73ec852..c1c67eb 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 6de5335..f1f1704 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 470b027..b0fc426 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 268c87a..dce9c98 100644 (file)
@@ -476,7 +476,7 @@ wrapf (const char *message,...)
   current_col += buflen;
 }
 
-static void
+void
 usage (int status)
 {
   if (status != 0)
index 7585db1..155efd4 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 eac1eab..b4b3553 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 2fc3f4d..1608aa8 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 493ae1d..c524962 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 84f8b4e..c548249 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 c9be13c..7fd98d0 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 9936a85..a41859c 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 244e56a..e7a0d09 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)