summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_ddcmd.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-02 16:04:09 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-02 16:04:09 +0000
commit426dc74b959df16ea2c63ddefb07aa874a17a367 (patch)
tree1642619d0c60b8a67c98baaca85e372bf524d8e4 /apps/nshlib/nsh_ddcmd.c
parent27d64b50095b5a95d4c41244993ca42d5062c627 (diff)
downloadpx4-nuttx-426dc74b959df16ea2c63ddefb07aa874a17a367.tar.gz
px4-nuttx-426dc74b959df16ea2c63ddefb07aa874a17a367.tar.bz2
px4-nuttx-426dc74b959df16ea2c63ddefb07aa874a17a367.zip
NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_ddcmd.c')
-rw-r--r--apps/nshlib/nsh_ddcmd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/nshlib/nsh_ddcmd.c b/apps/nshlib/nsh_ddcmd.c
index 11652fe7e..5b03cbd2f 100644
--- a/apps/nshlib/nsh_ddcmd.c
+++ b/apps/nshlib/nsh_ddcmd.c
@@ -1,8 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_ddcmd.c
*
- * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -41,6 +41,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -51,7 +52,9 @@
#include <errno.h>
#include <nuttx/fs.h>
+
#include "nsh.h"
+#include "nsh_console.h"
#if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_NSH_DISABLE_DD)