git: adbaf1b443c6 - main - posix_spawn.c: format fae_action anon enum more stylish
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Nov 2021 02:16:34 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=adbaf1b443c68c70911aeb62c9963dd583ec9b45
commit adbaf1b443c68c70911aeb62c9963dd583ec9b45
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-27 22:36:19 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-30 01:43:54 +0000
posix_spawn.c: format fae_action anon enum more stylish
Reviewed by: kevans, ngie (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33143
---
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 {