From 03c2be3856624ed069e414148a1d571d4b1fcb25 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 3 Mar 2012 23:18:34 +0000 Subject: Move all non-standard, NuttX header files into include/nuttx/net git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4450 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/examples/ftpc/ftpc_main.c | 2 +- apps/examples/igmp/igmp.c | 2 +- apps/examples/nettest/nettest.c | 2 +- apps/examples/thttpd/content/netstat/netstat.c | 4 ++-- apps/examples/thttpd/main.c | 8 ++++---- apps/examples/udp/target.c | 2 +- apps/examples/uip/main.c | 4 ++-- apps/examples/wget/target.c | 2 +- apps/examples/wlan/wlan_main.c | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) (limited to 'apps/examples') diff --git a/apps/examples/ftpc/ftpc_main.c b/apps/examples/ftpc/ftpc_main.c index 9093b0c10..866a69cdb 100644 --- a/apps/examples/ftpc/ftpc_main.c +++ b/apps/examples/ftpc/ftpc_main.c @@ -295,7 +295,7 @@ static int ftpc_execute(SESSION handle, int argc, char *argv[]) int ftpc_parse(SESSION handle, char *cmdline) { - FAR char *argv[FTPC_MAX_ARGUMENTS]; + FAR char *argv[FTPC_MAX_ARGUMENTS+1]; FAR char *saveptr; FAR char *cmd; int argc; diff --git a/apps/examples/igmp/igmp.c b/apps/examples/igmp/igmp.c index 7f2a8099c..5b7ff8376 100644 --- a/apps/examples/igmp/igmp.c +++ b/apps/examples/igmp/igmp.c @@ -45,7 +45,7 @@ #include #include -#include +#include #include #include diff --git a/apps/examples/nettest/nettest.c b/apps/examples/nettest/nettest.c index 7160e693a..34ae48f2e 100644 --- a/apps/examples/nettest/nettest.c +++ b/apps/examples/nettest/nettest.c @@ -44,7 +44,7 @@ #include #include -#include +#include #include #include "nettest.h" diff --git a/apps/examples/thttpd/content/netstat/netstat.c b/apps/examples/thttpd/content/netstat/netstat.c index 634146274..61590ab29 100755 --- a/apps/examples/thttpd/content/netstat/netstat.c +++ b/apps/examples/thttpd/content/netstat/netstat.c @@ -44,8 +44,8 @@ #include #include -#include -#include +#include +#include /**************************************************************************** * Pre-processor Definitions diff --git a/apps/examples/thttpd/main.c b/apps/examples/thttpd/main.c index be30876cb..30c13bb00 100644 --- a/apps/examples/thttpd/main.c +++ b/apps/examples/thttpd/main.c @@ -1,8 +1,8 @@ /**************************************************************************** * examples/thttpd/main.c * - * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2009-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -51,7 +51,7 @@ #include #include -#include +#include #include #include @@ -59,7 +59,7 @@ #include #include #ifdef CONFIG_NET_SLIP -# include +# include #endif #include "content/romfs.h" diff --git a/apps/examples/udp/target.c b/apps/examples/udp/target.c index 07fec0e75..defbc7e05 100644 --- a/apps/examples/udp/target.c +++ b/apps/examples/udp/target.c @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include "udp-internal.h" diff --git a/apps/examples/uip/main.c b/apps/examples/uip/main.c index fd2da4b8e..e4ba6dfdb 100644 --- a/apps/examples/uip/main.c +++ b/apps/examples/uip/main.c @@ -54,8 +54,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/apps/examples/wget/target.c b/apps/examples/wget/target.c index 9c55746b3..542220162 100644 --- a/apps/examples/wget/target.c +++ b/apps/examples/wget/target.c @@ -46,7 +46,7 @@ #include #include -#include +#include #include #include diff --git a/apps/examples/wlan/wlan_main.c b/apps/examples/wlan/wlan_main.c index 04210909a..585878730 100644 --- a/apps/examples/wlan/wlan_main.c +++ b/apps/examples/wlan/wlan_main.c @@ -57,8 +57,8 @@ #include #include -#include -#include +#include +#include #include -- cgit v1.2.3