diff --git a/examples/cc3000/shell.c b/examples/cc3000/shell.c index 9df6814fd..8e2521b3c 100644 --- a/examples/cc3000/shell.c +++ b/examples/cc3000/shell.c @@ -51,7 +51,7 @@ #include #include "shell.h" -#include +#include /**************************************************************************** * Pre-processor Definitions diff --git a/examples/nsh/nsh_main.c b/examples/nsh/nsh_main.c index 5d063700d..235a86fa5 100644 --- a/examples/nsh/nsh_main.c +++ b/examples/nsh/nsh_main.c @@ -55,7 +55,7 @@ # include #endif -#include +#include /**************************************************************************** * Pre-processor Definitions diff --git a/examples/nxterm/nxterm_main.c b/examples/nxterm/nxterm_main.c index 34b773914..a62326d39 100644 --- a/examples/nxterm/nxterm_main.c +++ b/examples/nxterm/nxterm_main.c @@ -66,7 +66,7 @@ #include #include -#include +#include #include "nxterm_internal.h" diff --git a/include/nsh.h b/include/nshlib/nshlib.h similarity index 96% rename from include/nsh.h rename to include/nshlib/nshlib.h index 9620cbd26..3976d669a 100644 --- a/include/nsh.h +++ b/include/nshlib/nshlib.h @@ -1,7 +1,7 @@ /**************************************************************************** - * apps/include/nsh.h + * apps/include/nshlib/nshlib.h * - * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2013, 2016 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __APPS_INCLUDE_NSH_H -#define __APPS_INCLUDE_NSH_H +#ifndef __APPS_INCLUDE_NSHLIB_NSHLIB_H +#define __APPS_INCLUDE_NSHLIB_NSHLIB_H /**************************************************************************** * Included Files @@ -206,4 +206,4 @@ int platform_user_verify(FAR const char *username, FAR const char *password); } #endif -#endif /* __APPS_INCLUDE_NSH_H */ +#endif /* __APPS_INCLUDE_NSHLIB_NSHLIB_H */ diff --git a/netutils/README.txt b/netutils/README.txt index 50ea2d189..c2f3c4391 100644 --- a/netutils/README.txt +++ b/netutils/README.txt @@ -61,7 +61,7 @@ highly influenced by uIP) include: "wrapped" as character devices and mapped to stdin, stdout, and stderr. Now the telnet session can be inherited by spawned tasks. - ftpc - FTP client. See apps/include/ftpc.h for interface + ftpc - FTP client. See apps/include/netutils/ftpc.h for interface information. ftpd - FTP server. See apps/include/netutils/ftpd.h for interface information. diff --git a/netutils/ftpd/ftpd.h b/netutils/ftpd/ftpd.h index 4ec40e7b7..13efcaca0 100644 --- a/netutils/ftpd/ftpd.h +++ b/netutils/ftpd/ftpd.h @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/include/ftpd.h + * apps/netutils/ftpd/ftpd.h * * Copyright (C) 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/nshlib/Kconfig b/nshlib/Kconfig index d6c014a2f..e6a8055d5 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -43,10 +43,10 @@ config NSH_PLATFORM_MOTD One newline will be inserted after the platform-supplied message. - platform_motd() is prototyped and described in apps/include/nsh.h + platform_motd() is prototyped and described in apps/include/nshlib/nshlib.h which may be included like: - #include + #include config NSH_MOTD_STRING string "MOTD String" @@ -1538,10 +1538,10 @@ config NSH_LOGIN_PLATFORM int platform_user_verify(FAR const char *username, FAR const char *password); - which is prototyped an described in apps/include/nsh.h and which may - be included like: + which is prototyped an described in apps/include/nshlib/nshlib.h and + which may be included like: - #include + #include An appropriate place to implement this function might be in the directory apps/platform/. diff --git a/nshlib/nsh_init.c b/nshlib/nsh_init.c index 6c475f61c..0b947e1af 100644 --- a/nshlib/nsh_init.c +++ b/nshlib/nsh_init.c @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nsh.h" diff --git a/nshlib/nsh_parse.c b/nshlib/nsh_parse.c index 9e2a09cd0..48e92e640 100644 --- a/nshlib/nsh_parse.c +++ b/nshlib/nsh_parse.c @@ -50,7 +50,7 @@ #endif #include -#include +#include #include "nsh.h" #include "nsh_console.h"