diff options
Diffstat (limited to 'apps/examples/ftpc')
-rw-r--r-- | apps/examples/ftpc/ftpc.h | 13 | ||||
-rwxr-xr-x | apps/examples/ftpc/ftpc_cmds.c | 2 |
2 files changed, 1 insertions, 14 deletions
diff --git a/apps/examples/ftpc/ftpc.h b/apps/examples/ftpc/ftpc.h index 503922375..b6fe35aed 100644 --- a/apps/examples/ftpc/ftpc.h +++ b/apps/examples/ftpc/ftpc.h @@ -83,23 +83,10 @@ typedef int (*cmd_t)(SESSION handle, int argc, char **argv); * Public Data ****************************************************************************/ -extern const char g_ftpcgreeting[]; -extern const char g_ftpcprompt[]; -extern const char g_fmtcmdfailed[]; - /**************************************************************************** * Public Function Prototypes ****************************************************************************/ -/* Network initialization */ - -extern int ftpc_netinit(void); - -/* Current working directory support */ - -extern char *ftpc_getfullpath(const char *relpath); -extern void ftpc_freefullpath(char *relpath); - /* FTP command handlers */ extern int cmd_rlogin(SESSION handle, int argc, char **argv); diff --git a/apps/examples/ftpc/ftpc_cmds.c b/apps/examples/ftpc/ftpc_cmds.c index a4cab45e0..3acd56ee3 100755 --- a/apps/examples/ftpc/ftpc_cmds.c +++ b/apps/examples/ftpc/ftpc_cmds.c @@ -66,7 +66,7 @@ int cmd_rlogin(SESSION handle, int argc, char **argv)
{
- struct ftpc_login_s login = {0, 0, 0, true};
+ struct ftpc_login_s login = {NULL, NULL, NULL, true};
login.uname = argv[1];
if (argc > 2)
|