summaryrefslogtreecommitdiffstats
path: root/src/xspawn.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-03-29 12:15:33 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-03-29 12:26:43 -0400
commit116ab1ed2b4230aea1ab634618af3162cabbb37f (patch)
tree9fbc436568e804faaa8885c181e59a303feb06ab /src/xspawn.h
parentba2d4ac206ff1321ea953d3305d8bda048922983 (diff)
downloadbfs-116ab1ed2b4230aea1ab634618af3162cabbb37f.tar.xz
xspawn: Use list.h for the action list
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 3dbf5d2..7e673f1 100644
--- a/src/xspawn.h
+++ b/src/xspawn.h
@@ -8,6 +8,7 @@
#ifndef BFS_XSPAWN_H
#define BFS_XSPAWN_H
+#include "list.h"
#include <sys/resource.h>
#include <sys/types.h>
@@ -24,8 +25,7 @@ enum bfs_spawn_flags {
*/
struct bfs_spawn {
enum bfs_spawn_flags flags;
- struct bfs_spawn_action *actions;
- struct bfs_spawn_action **tail;
+ struct slist actions;
};
/**