diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-01 14:53:14 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-01 14:53:14 -0400 |
| commit | ddcf611815c145b1fadca042e65648a7a81cc497 (patch) | |
| tree | 9e11e5a372f2df528d162d17050eada50ad1db56 /include/command.h | |
| parent | 406889ed5c780f0e28703b143c72bbf035280b25 (diff) | |
| download | hush-ddcf611815c145b1fadca042e65648a7a81cc497.tar.gz | |
Added variable support
Diffstat (limited to 'include/command.h')
| -rw-r--r-- | include/command.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/command.h b/include/command.h index f44c103..2948aca 100644 --- a/include/command.h +++ b/include/command.h @@ -11,16 +11,16 @@ #include "config.h" typedef struct command { - char *command; - char *infile; - char *outfile; + const char *command; + const char *infile; + const char *outfile; struct command *next; struct command *prev; pid_t pid; int pipe[2]; - char *args[MAX_ARGUMENT_CNT + 2]; + const char *args[MAX_ARGUMENT_CNT + 2]; } command; |