Bug 1790 - Remove static from definition of usage functions. CompilerCompatibility
authorPeter Fordham <peter.fordham@gmail.com>
Fri, 19 Mar 2010 13:24:56 -0700
branchCompilerCompatibility
changeset 10 b19595f53fff
parent 9 44211cf3eedb
child 11 425e2276aed4
Bug 1790 - Remove static from definition of usage functions.
openenvutils/commandshell/shell/commands/cp/src/cp.c
openenvutils/commandshell/shell/commands/ls/src/ls.c
openenvutils/commandshell/shell/commands/touch/src/touch.c
--- a/openenvutils/commandshell/shell/commands/cp/src/cp.c	Fri Mar 19 13:11:12 2010 -0700
+++ b/openenvutils/commandshell/shell/commands/cp/src/cp.c	Fri Mar 19 13:24:56 2010 -0700
@@ -549,7 +549,7 @@
 	return (0);
 }
 
-static void
+void
 usage()
 {
 	(void)fprintf(stderr, "%s\n%s\n",
--- a/openenvutils/commandshell/shell/commands/ls/src/ls.c	Fri Mar 19 13:11:12 2010 -0700
+++ b/openenvutils/commandshell/shell/commands/ls/src/ls.c	Fri Mar 19 13:24:56 2010 -0700
@@ -674,7 +674,6 @@
 }
 
 
-static 
 void
 usage()
 {
--- a/openenvutils/commandshell/shell/commands/touch/src/touch.c	Fri Mar 19 13:11:12 2010 -0700
+++ b/openenvutils/commandshell/shell/commands/touch/src/touch.c	Fri Mar 19 13:24:56 2010 -0700
@@ -390,7 +390,7 @@
 	return (rval);
 }
 
-static void
+void
 usage()
 {
 	(void)fprintf(stderr,