diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-01 15:09:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-01 15:09:49 +0000 |
commit | 0c65db21d1bdc2ca3419f947288e08033f890662 (patch) | |
tree | c5a3ae24fb1e857edd2ea9b40faddf11a2be7024 /apps/nshlib/nsh.h | |
parent | 0ec4fcc28f0c8601c4205d73a7e7f93f44f3c8e3 (diff) | |
download | nuttx-0c65db21d1bdc2ca3419f947288e08033f890662.tar.gz nuttx-0c65db21d1bdc2ca3419f947288e08033f890662.tar.bz2 nuttx-0c65db21d1bdc2ca3419f947288e08033f890662.zip |
Add NSH date command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3932 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r-- | apps/nshlib/nsh.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h index 6f499a749..fd265982f 100644 --- a/apps/nshlib/nsh.h +++ b/apps/nshlib/nsh.h @@ -379,6 +379,12 @@ extern int cmd_test(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); extern int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); #endif +#ifndef CONFIG_DISABLE_CLOCK +# if defined (CONFIG_RTC) && !defined(CONFIG_NSH_DISABLE_DATE) +extern int cmd_date(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); +# endif +#endif + #if CONFIG_NFILE_DESCRIPTORS > 0 # ifndef CONFIG_NSH_DISABLE_CAT extern int cmd_cat(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); |