Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2021 00:27:32 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 198932fd77db - stable/13 - posix_spawn.c: format fae_action anon enum more stylish
Message-ID:  <202112070027.1B70RWSq021304@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=198932fd77db366a52df8cd1cbb748737f810acf

commit 198932fd77db366a52df8cd1cbb748737f810acf
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-27 22:36:19 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-07 00:25:01 +0000

    posix_spawn.c: format fae_action anon enum more stylish
    
    (cherry picked from commit adbaf1b443c68c70911aeb62c9963dd583ec9b45)
---
 lib/libc/gen/posix_spawn.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c
index 0bca52811e30..e70772e31753 100644
--- a/lib/libc/gen/posix_spawn.c
+++ b/lib/libc/gen/posix_spawn.c
@@ -62,7 +62,11 @@ struct __posix_spawn_file_actions {
 
 typedef struct __posix_spawn_file_actions_entry {
 	STAILQ_ENTRY(__posix_spawn_file_actions_entry) fae_list;
-	enum { FAE_OPEN, FAE_DUP2, FAE_CLOSE } fae_action;
+	enum {
+		FAE_OPEN,
+		FAE_DUP2,
+		FAE_CLOSE,
+	} fae_action;
 
 	int fae_fildes;
 	union {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112070027.1B70RWSq021304>