diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-16 12:25:09 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-12-18 15:37:20 -0500 |
commit | 5b38f658ee42bef05cecb6cadec65b25d9e94993 (patch) | |
tree | 7ee304714729b360a3d45658ca27358e03cd54e3 /src/xspawn.c | |
parent | fd91097055f095fdd827ef8751d9534f59a89404 (diff) | |
download | bfs-5b38f658ee42bef05cecb6cadec65b25d9e94993.tar.xz |
config: New variadic attr(...) macro
Diffstat (limited to 'src/xspawn.c')
-rw-r--r-- | src/xspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xspawn.c b/src/xspawn.c index 03287c3..40115a1 100644 --- a/src/xspawn.c +++ b/src/xspawn.c @@ -83,7 +83,7 @@ int bfs_spawn_destroy(struct bfs_spawn *ctx) { #if _POSIX_SPAWN > 0 /** Set some posix_spawnattr flags. */ -attr_maybe_unused +attr(maybe_unused) static int bfs_spawn_addflags(struct bfs_spawn *ctx, short flags) { short prev; errno = posix_spawnattr_getflags(&ctx->attr, &prev); |