summaryrefslogtreecommitdiff
path: root/src/kash/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kash/exec.h')
-rw-r--r--src/kash/exec.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/kash/exec.h b/src/kash/exec.h
index c1a15d7..25f9a8f 100644
--- a/src/kash/exec.h
+++ b/src/kash/exec.h
@@ -45,13 +45,15 @@
#define CMDSPLBLTIN 3 /* command is a special shell builtin */
+union param {
+ int index;
+ int (*bltin)(struct shinstance*, int, char**);
+ union node *func;
+};
+
struct cmdentry {
int cmdtype;
- union param {
- int index;
- int (*bltin)(struct shinstance*, int, char**);
- union node *func;
- } u;
+ union param u;
};