summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-18 12:17:22 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-18 12:17:22 +0200
commitc95d6b05559457a4abb693f3fc2e3d5eb54ab05b (patch)
tree4bb98d9a73e98534ce957c2db370189c6140cf27 /exec.c
parent0916bce4d23c59e3d12df3b216fad62b60e4f155 (diff)
coalesce the preproc files
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/exec.c b/exec.c
index d07ea73..7147bfd 100644
--- a/exec.c
+++ b/exec.c
@@ -1,8 +1,3 @@
-#include "lex.h"
-#include "parse.h"
-#include "exec.h"
-#include "utils.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -10,6 +5,10 @@
#include <signal.h>
#include <sys/wait.h>
+#include "utils.h"
+#include "exec.h"
+#include "preproc.h"
+
char* get_var(char* varname, ShellState* shstate) {
MaybeStr maybe_varval = get_map_value(&shstate->shell_vars, varname);