aboutsummaryrefslogtreecommitdiff
path: root/src/include/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/command.h')
-rw-r--r--src/include/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/command.h b/src/include/command.h
index 34db13d..a44ed13 100644
--- a/src/include/command.h
+++ b/src/include/command.h
@@ -22,9 +22,10 @@
#define __COMMAND_H
#include "general.h"
+#include "target.h"
int command_process(char *cmd);
-typedef void (*cmd_handler)(int argc, const char **argv);
+typedef bool (*cmd_handler)(target *t, int argc, const char **argv);
struct command_s {
const char *cmd;