mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 23:02:13 +08:00
apps/nshlib: nsh_readfile() should not be marked as static
This commit is contained in:
@@ -205,9 +205,8 @@ int nsh_catfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef NSH_HAVE_READFILE
|
||||
static int nsh_readfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
FAR const char *filepath, FAR char *buffer,
|
||||
size_t buflen)
|
||||
int nsh_readfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
FAR const char *filepath, FAR char *buffer, size_t buflen)
|
||||
{
|
||||
FAR char *bufptr;
|
||||
size_t remaining;
|
||||
|
Reference in New Issue
Block a user