apps/nshlib: nsh_readfile() should not be marked as static
This commit is contained in:
parent
631c9cec12
commit
88d3ac1c92
nshlib
@ -1233,9 +1233,8 @@ int nsh_catfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef NSH_HAVE_READFILE
|
#ifdef NSH_HAVE_READFILE
|
||||||
static int nsh_readfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
int nsh_readfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||||
FAR const char *filepath, FAR char *buffer,
|
FAR const char *filepath, FAR char *buffer, size_t buflen);
|
||||||
size_t buflen);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -205,9 +205,8 @@ int nsh_catfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef NSH_HAVE_READFILE
|
#ifdef NSH_HAVE_READFILE
|
||||||
static int nsh_readfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
int nsh_readfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||||
FAR const char *filepath, FAR char *buffer,
|
FAR const char *filepath, FAR char *buffer, size_t buflen)
|
||||||
size_t buflen)
|
|
||||||
{
|
{
|
||||||
FAR char *bufptr;
|
FAR char *bufptr;
|
||||||
size_t remaining;
|
size_t remaining;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user