Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 20:38:28 +0100
From:      Marc Olzheim <marcolz@ilse.nl>
To:        gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:        Marc Olzheim <marcolz@ilse.nl>
Subject:   Re: kern/33117: empty struct md_coredump in pcb.h and user.h violates strict ansi
Message-ID:  <20011223203828.A91724@ilse.nl>
In-Reply-To: <200112231930.fBNJU0J35662@freefall.freebsd.org>; from gnats-admin@FreeBSD.org on Sun, Dec 23, 2001 at 11:30:00AM -0800
References:  <200112231917.fBNJHun02054@crime.ncc1701.org> <200112231930.fBNJU0J35662@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Whoops, that last patch should of course be:

--- /usr/src/sys/sys/user.h	Thu Oct 11 12:05:10 2001
+++ /usr/src/sys/sys/user.h	Tue Nov 13 19:38:48 2001
@@ -106,7 +106,10 @@
 	 * Remaining fields for a.out core dumps - not valid at other times!
 	 */
 	struct	kinfo_proc u_kproc;	/* proc + eproc */
+
+#if !defined(__STRICT_ANSI__)		/* no empty structs please */
 	struct	md_coredump u_md;	/* machine dependent glop */
+#endif
 };
 
 #endif

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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