summaryrefslogtreecommitdiffstats
path: root/ports/template/xcmddcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/template/xcmddcl.h')
-rw-r--r--ports/template/xcmddcl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/template/xcmddcl.h b/ports/template/xcmddcl.h
new file mode 100644
index 0000000..1057b07
--- /dev/null
+++ b/ports/template/xcmddcl.h
@@ -0,0 +1,14 @@
+/* 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
+ * that may be target specific.
+ * This is the declaration portion of the code that must be at the top of
+ * the cmdtbl[] array.
+ *
+ * For example...
+
+extern int date();
+extern char *dateHelp[];
+
+ */