Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Don't nest enum in structures.
details: https://anonhg.NetBSD.org/src/rev/51f7b6287b20
branches: trunk
changeset: 332033:51f7b6287b20
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 05 05:46:54 2014 +0000
description:
Don't nest enum in structures.
diffstat:
sys/sys/spawn.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 02413c8a5b17 -r 51f7b6287b20 sys/sys/spawn.h
--- a/sys/sys/spawn.h Fri Sep 05 05:46:15 2014 +0000
+++ b/sys/sys/spawn.h Fri Sep 05 05:46:54 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spawn.h,v 1.4 2013/04/27 21:35:25 joerg Exp $ */
+/* $NetBSD: spawn.h,v 1.5 2014/09/05 05:46:54 matt Exp $ */
/*-
* Copyright (c) 2008 Ed Schouten <ed%FreeBSD.org@localhost>
@@ -47,8 +47,9 @@
sigset_t sa_sigmask;
};
+enum fae_action { FAE_OPEN, FAE_DUP2, FAE_CLOSE };
typedef struct posix_spawn_file_actions_entry {
- enum { FAE_OPEN, FAE_DUP2, FAE_CLOSE } fae_action;
+ enum fae_action fae_action;
int fae_fildes;
union {
Home |
Main Index |
Thread Index |
Old Index