diff options
Diffstat (limited to 'src/kash/exec.h')
-rw-r--r-- | src/kash/exec.h | 12 |
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; }; |