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
This commit is contained in:
parent
b10e90e4f6
commit
fd27130cff
@ -121,7 +121,7 @@ static void pwm_help(FAR struct pwm_state_s *pwm)
|
|||||||
* Name: arg_string
|
* 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;
|
FAR char *ptr = *arg;
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ int arg_string(FAR char **arg, FAR char **value)
|
|||||||
* Name: arg_decimal
|
* 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;
|
FAR char *string;
|
||||||
int ret;
|
int ret;
|
||||||
@ -155,7 +155,7 @@ int arg_decimal(FAR char **arg, FAR long *value)
|
|||||||
* Name: parse_args
|
* 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;
|
FAR char *ptr;
|
||||||
long value;
|
long value;
|
||||||
|
@ -111,7 +111,7 @@ static void qe_help(void)
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_NSH_BUILTIN_APPS
|
#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;
|
FAR char *ptr = *arg;
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ int arg_string(FAR char **arg, FAR char **value)
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_NSH_BUILTIN_APPS
|
#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;
|
FAR char *string;
|
||||||
int ret;
|
int ret;
|
||||||
@ -149,7 +149,7 @@ int arg_decimal(FAR char **arg, FAR long *value)
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_NSH_BUILTIN_APPS
|
#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;
|
FAR char *ptr;
|
||||||
long value;
|
long value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user