From 7267882ebd0a6aa79cf88b7f42675804eaff1bcf Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 19 Mar 2011 17:29:36 +0000 Subject: Additional changes for clean NSH build git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3400 42af7a65-404d-4744-a932-0658087f49c3 --- apps/nshlib/nsh_netcmds.c | 10 +++++----- apps/nshlib/nsh_netinit.c | 7 ++++--- apps/nshlib/nsh_telnetd.c | 6 +++--- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'apps') diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index 507742f56..1bd1e93e4 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -65,18 +65,18 @@ #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) -# include +# include #endif #if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0 -# include -# include +# include +# include #endif #if defined(CONFIG_NET_TCP) && CONFIG_NFILE_DESCRIPTORS > 0 # ifndef CONFIG_NSH_DISABLE_WGET -# include -# include +# include +# include # endif #endif diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c index f49c64e40..245d50380 100644 --- a/apps/nshlib/nsh_netinit.c +++ b/apps/nshlib/nsh_netinit.c @@ -45,10 +45,11 @@ #include #include -#include + +#include #if defined(CONFIG_NSH_DHCPC) -# include -# include +# include +# include #endif #include "nsh.h" diff --git a/apps/nshlib/nsh_telnetd.c b/apps/nshlib/nsh_telnetd.c index 4f571f44a..0670c9a05 100644 --- a/apps/nshlib/nsh_telnetd.c +++ b/apps/nshlib/nsh_telnetd.c @@ -58,10 +58,10 @@ #include #include -#include +#include #if defined(CONFIG_NSH_DHCPC) -# include -# include +# include +# include #endif #include "nsh.h" -- cgit v1.2.3