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
This commit is contained in:
bz 2009-05-17 20:55:33 +00:00
parent 5243547e6f
commit 19e766fa3c

View File

@ -160,7 +160,6 @@ void vnet_mod_deregister_multi(const struct vnet_modinfo *, void *, char *);
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;