From fd27130cff91263b5ddfbe03908bd8b210c85ac1 Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Tue, 13 Mar 2012 12:47:59 +0000
Subject: [PATCH] Fix some multiply defined symbols by making some static

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4482 42af7a65-404d-4744-a932-0658087f49c3
---
 examples/pwm/pwm_main.c     | 6 +++---
 examples/qencoder/qe_main.c | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/examples/pwm/pwm_main.c b/examples/pwm/pwm_main.c
index 38e0e3da4..91f97aa75 100644
--- a/examples/pwm/pwm_main.c
+++ b/examples/pwm/pwm_main.c
@@ -121,7 +121,7 @@ static void pwm_help(FAR struct pwm_state_s *pwm)
  * Name: arg_string
  ****************************************************************************/
 
-int arg_string(FAR char **arg, FAR char **value)
+static int arg_string(FAR char **arg, FAR char **value)
 {
   FAR char *ptr = *arg;
 
@@ -141,7 +141,7 @@ int arg_string(FAR char **arg, FAR char **value)
  * Name: arg_decimal
  ****************************************************************************/
 
-int arg_decimal(FAR char **arg, FAR long *value)
+static int arg_decimal(FAR char **arg, FAR long *value)
 {
   FAR char *string;
   int ret;
@@ -155,7 +155,7 @@ int arg_decimal(FAR char **arg, FAR long *value)
  * Name: parse_args
  ****************************************************************************/
 
-void parse_args(FAR struct pwm_state_s *pwm, int argc, FAR char **argv)
+static void parse_args(FAR struct pwm_state_s *pwm, int argc, FAR char **argv)
 {
   FAR char *ptr;
   long value;
diff --git a/examples/qencoder/qe_main.c b/examples/qencoder/qe_main.c
index 4804600fd..bf743d229 100644
--- a/examples/qencoder/qe_main.c
+++ b/examples/qencoder/qe_main.c
@@ -111,7 +111,7 @@ static void qe_help(void)
  ****************************************************************************/
 
 #ifdef CONFIG_NSH_BUILTIN_APPS
-int arg_string(FAR char **arg, FAR char **value)
+static int arg_string(FAR char **arg, FAR char **value)
 {
   FAR char *ptr = *arg;
 
@@ -133,7 +133,7 @@ int arg_string(FAR char **arg, FAR char **value)
  ****************************************************************************/
 
 #ifdef CONFIG_NSH_BUILTIN_APPS
-int arg_decimal(FAR char **arg, FAR long *value)
+static int arg_decimal(FAR char **arg, FAR long *value)
 {
   FAR char *string;
   int ret;
@@ -149,7 +149,7 @@ int arg_decimal(FAR char **arg, FAR long *value)
  ****************************************************************************/
 
 #ifdef CONFIG_NSH_BUILTIN_APPS
-void parse_args(int argc, FAR char **argv)
+static void parse_args(int argc, FAR char **argv)
 {
   FAR char *ptr;
   long value;