summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index d9fccd3..617f78d 100644
--- a/main.c
+++ b/main.c
@@ -14,8 +14,8 @@ struct command {
};
struct exec_command {
- struct command *cmd;
- void (*func);
+ const char *cmd;
+ void (*func)(const char *);
};