aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/docommand.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/docommand.c b/backendC/CleanCompilerSources/docommand.c
index e69de29..70de990 100644
--- a/backendC/CleanCompilerSources/docommand.c
+++ b/backendC/CleanCompilerSources/docommand.c
@@ -0,0 +1,16 @@
+typedef struct clean_string {int length; char chars [1]; } *CleanString;
+
+# define Clean(ignore)
+# include "docommand.h"
+/*
+ Clean string
+ ============
+*/
+
+extern int do_command (char *command);
+
+int
+DoCommandNullTerminated (CleanString command)
+{
+ return (do_command (command->chars));
+} /* DoCommandNullTerminated */