summaryrefslogtreecommitdiffstats
path: root/src/xspawn.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-03-31 16:19:45 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-03-31 16:39:56 -0400
commit86f4b4f7180bca73a734249e67dada708f8275ff (patch)
tree408bdffc5001ce8180dc46f10d4cc04ea7c17d82 /src/xspawn.h
parentf75f3de63888702f29f48bcf2691291403720b9d (diff)
downloadbfs-86f4b4f7180bca73a734249e67dada708f8275ff.tar.xz
list: Use macros instead of type-erased lists
Diffstat (limited to 'src/xspawn.h')
-rw-r--r--src/xspawn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xspawn.h b/src/xspawn.h
index 7e673f1..d9b4a2e 100644
--- a/src/xspawn.h
+++ b/src/xspawn.h
@@ -8,7 +8,6 @@
#ifndef BFS_XSPAWN_H
#define BFS_XSPAWN_H
-#include "list.h"
#include <sys/resource.h>
#include <sys/types.h>
@@ -25,7 +24,8 @@ enum bfs_spawn_flags {
*/
struct bfs_spawn {
enum bfs_spawn_flags flags;
- struct slist actions;
+ struct bfs_spawn_action *head;
+ struct bfs_spawn_action **tail;
};
/**