diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/nshlib/nsh_fscmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_fscmds.c b/apps/nshlib/nsh_fscmds.c index f47dca896..35d5c81bd 100644 --- a/apps/nshlib/nsh_fscmds.c +++ b/apps/nshlib/nsh_fscmds.c @@ -121,6 +121,7 @@ static char g_iobuffer[IOBUFFERSIZE]; * Name: trim_dir ****************************************************************************/ +#if !defined(CONFIG_NSH_DISABLE_CP) || defined(CONFIG_NSH_FULLPATH) static void trim_dir(char *arg) { /* Skip any trailing '/' characters (unless it is also the leading '/') */ @@ -132,6 +133,7 @@ static void trim_dir(char *arg) len--; } } +#endif /**************************************************************************** * Name: nsh_getdirpath |