[PATCH 7/8] BBB: xcmddcl.h/xcmdtbl.h: Remove irrelevant commands
Jarielle Catbagan
jcatbagan93 at gmail.com
Fri Jul 3 17:54:54 UTC 2015
---
ports/beagleboneblack/xcmddcl.h | 20 +-------------------
ports/beagleboneblack/xcmdtbl.h | 10 +---------
2 files changed, 2 insertions(+), 28 deletions(-)
diff --git a/ports/beagleboneblack/xcmddcl.h b/ports/beagleboneblack/xcmddcl.h
index 76d5cca..644b074 100644
--- a/ports/beagleboneblack/xcmddcl.h
+++ b/ports/beagleboneblack/xcmddcl.h
@@ -1,5 +1,4 @@
-
-/* extcmddcl.h: */
+/* xcmddcl.h: */
/* This file must exist even if it is empty because it is #included in the */
/* common file cmdtbl.c. The purpose is to keep the common comand table */
/* file (common/cmdtbl.c) from being corrupted with non-generic commands */
@@ -12,20 +11,3 @@ extern int dummycmd(); Function declaration.
extern char *dummyHelp[]; Command help array declaration.
*/
-
-extern int date();
-extern char *dateHelp[];
-
-#if INCLUDE_LCD
-extern int lcd_tst();
-extern char *lcd_tstHelp[];
-#endif
-
-//extern int i2c();
-//extern char *i2cHelp[];
-
-extern int nandCmd();
-extern char *nandHelp[];
-
-extern int ldatags();
-extern char *ldatagsHelp[];
diff --git a/ports/beagleboneblack/xcmdtbl.h b/ports/beagleboneblack/xcmdtbl.h
index 7fb337f..120957e 100644
--- a/ports/beagleboneblack/xcmdtbl.h
+++ b/ports/beagleboneblack/xcmdtbl.h
@@ -1,4 +1,4 @@
-/* extcmdtbl.h: */
+/* xcmdtbl.h: */
/* This file must exist even if it is empty because it is #included in the */
/* common file cmdtbl.c. The purpose is to keep the common comand table */
/* file (common/cmdtbl.c) from being corrupted with non-generic commands */
@@ -8,11 +8,3 @@
/* For example:
"dummy", dummycmd, dummyHelp,
*/
-//{"i2c", i2c, i2cHelp,},
-#if INCLUDE_LCD
-{"lcd_tst", lcd_tst, lcd_tstHelp,},
-#endif
-{"ldatags", ldatags, ldatagsHelp,},
-#if INCLUDE_NANDCMD
-{"nand", nandCmd, nandHelp,},
-#endif
--
2.3.3
More information about the umon-devel
mailing list