svn commit: r192263 - head/sys/sys
Bjoern A. Zeeb
bz at FreeBSD.org
Sun May 17 20:55:34 UTC 2009
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;
More information about the svn-src-all
mailing list