Made some functions and variables static.

diff --git a/programs/wcmd/builtins.c b/programs/wcmd/builtins.c
index a5f34e9..11570e9 100644
--- a/programs/wcmd/builtins.c
+++ b/programs/wcmd/builtins.c
@@ -515,7 +515,7 @@
  *
  * Make a copy of the environment.
  */
-WCHAR *WCMD_dupenv( const WCHAR *env )
+static WCHAR *WCMD_dupenv( const WCHAR *env )
 {
   WCHAR *env_copy;
   int len;
@@ -575,7 +575,7 @@
 /*****************************************************************************
  * WCMD_strchrW
  */
-inline WCHAR *WCMD_strchrW(WCHAR *str, WCHAR ch)
+static inline WCHAR *WCMD_strchrW(WCHAR *str, WCHAR ch)
 {
    while(*str)
    {
@@ -757,7 +757,7 @@
 /****************************************************************************
  * WCMD_compare
  */
-int WCMD_compare( const void *a, const void *b )
+static int WCMD_compare( const void *a, const void *b )
 {
     int r;
     const char * const *str_a = a, * const *str_b = b;
@@ -773,7 +773,7 @@
  *
  * sort variables into order for display
  */
-void WCMD_setshow_sortenv(const char *s)
+static void WCMD_setshow_sortenv(const char *s)
 {
   UINT count=0, len=0, i;
   const char **str;