Date: Sun, 17 May 2009 20:55:33 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192263 - head/sys/sys Message-ID: <200905172055.n4HKtXKT039526@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Sun May 17 20:55:33 2009 New Revision: 192263 URL: http://svn.freebsd.org/changeset/base/192263 Log: Put the structs under #ifndef VIMAGE_GLOBALS as some constants are not defined for VIMAGE_GLOBALS and thus broke the build for that option. Reported by: csjp Modified: head/sys/sys/vimage.h Modified: head/sys/sys/vimage.h ============================================================================== --- head/sys/sys/vimage.h Sun May 17 20:53:10 2009 (r192262) +++ head/sys/sys/vimage.h Sun May 17 20:55:33 2009 (r192263) @@ -160,7 +160,6 @@ void vnet_mod_deregister_multi(const str sizeof(vnet_ ## mod ## _0._ ## name) } #endif #define VNET_SYMMAP_END { NULL, 0 } -#endif /* !VIMAGE_GLOBALS */ struct vimage { LIST_ENTRY(vimage) vi_le; /* all vimage list */ @@ -191,7 +190,6 @@ struct vprocg { char _domainname[MAXHOSTNAMELEN]; }; -#ifndef VIMAGE_GLOBALS #ifdef VIMAGE LIST_HEAD(vimage_list_head, vimage); extern struct vimage_list_head vimage_head;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905172055.n4HKtXKT039526>