Module Name:    src
Committed By:   matt
Date:           Fri Sep  5 05:46:54 UTC 2014

Modified Files:
        src/sys/sys: spawn.h

Log Message:
Don't nest enum in structures.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/sys/spawn.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/spawn.h
diff -u src/sys/sys/spawn.h:1.4 src/sys/sys/spawn.h:1.5
--- src/sys/sys/spawn.h:1.4	Sat Apr 27 21:35:25 2013
+++ src/sys/sys/spawn.h	Fri Sep  5 05:46:54 2014
@@ -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 <[email protected]>
@@ -47,8 +47,9 @@ struct posix_spawnattr {
 	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 {

Reply via email to