diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-13 12:47:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-13 12:47:59 +0000 |
commit | 8dbef7e28bb85c9106ea80d03114ccfec0033a9a (patch) | |
tree | 149e42c66c6362f00f13e4aeeaa09ee4c722b61b /apps/examples/pwm | |
parent | 4da2d0ecf3560e449effab069c34bfa4870ace5e (diff) | |
download | px4-nuttx-8dbef7e28bb85c9106ea80d03114ccfec0033a9a.tar.gz px4-nuttx-8dbef7e28bb85c9106ea80d03114ccfec0033a9a.tar.bz2 px4-nuttx-8dbef7e28bb85c9106ea80d03114ccfec0033a9a.zip |
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
Diffstat (limited to 'apps/examples/pwm')
-rw-r--r-- | apps/examples/pwm/pwm_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/pwm/pwm_main.c b/apps/examples/pwm/pwm_main.c index 38e0e3da4..91f97aa75 100644 --- a/apps/examples/pwm/pwm_main.c +++ b/apps/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; |