Module Name:    src
Committed By:   dyoung
Date:           Wed Mar 25 21:48:37 UTC 2009

Modified Files:
        src/sys/kern: subr_autoconf.c

Log Message:
ctags(1) gets confused by 'typedef struct X { } X_t', so break 'typedef
struct pmf_private { ... } pmf_private_t' into a struct definition and a
typedef definition.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/kern/subr_autoconf.c

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

Modified files:

Index: src/sys/kern/subr_autoconf.c
diff -u src/sys/kern/subr_autoconf.c:1.171 src/sys/kern/subr_autoconf.c:1.172
--- src/sys/kern/subr_autoconf.c:1.171	Wed Mar 25 21:43:42 2009
+++ src/sys/kern/subr_autoconf.c	Wed Mar 25 21:48:36 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.171 2009/03/25 21:43:42 dyoung Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.172 2009/03/25 21:48:36 dyoung Exp $ */
 
 /*
  * Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.171 2009/03/25 21:43:42 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.172 2009/03/25 21:48:36 dyoung Exp $");
 
 #include "opt_ddb.h"
 #include "drvctl.h"
@@ -130,13 +130,15 @@
  * Autoconfiguration subroutines.
  */
 
-typedef struct pmf_private {
+struct pmf_private {
 	int		pp_nwait;
 	int		pp_nlock;
 	lwp_t		*pp_holder;
 	kmutex_t	pp_mtx;
 	kcondvar_t	pp_cv;
-} pmf_private_t;
+};
+
+typedef struct pmf_private pmf_private_t;
 
 /*
  * ioconf.c exports exactly two names: cfdata and cfroots.  All system

Reply via email to