summaryrefslogtreecommitdiff
path: root/src/shell.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-07-19 20:43:25 +0200
committerRichard Braun <rbraun@sceen.net>2018-07-19 20:43:25 +0200
commit0a49b1c332625fa0fbda40e56e859e19ea8411ea (patch)
tree4dcda39867012e30c85062d61731dc3766231d95 /src/shell.h
parent3c44fcb71c1ade0daca96b26886e5c6fe706c9d7 (diff)
shell: minor changes
Use size_t instead of unsigned long for size types, improve coding style.
Diffstat (limited to 'src/shell.h')
-rw-r--r--src/shell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.h b/src/shell.h
index 5aa04cd..ddf7396 100644
--- a/src/shell.h
+++ b/src/shell.h
@@ -62,7 +62,7 @@ struct shell_cmd_set;
/*
* Type for command implementation callbacks.
*/
-typedef void (*shell_fn_t)(struct shell *shell, int argc, char *argv[]);
+typedef void (*shell_fn_t)(struct shell *shell, int argc, char **argv);
#include "shell_i.h"