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:
parent
5243547e6f
commit
19e766fa3c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user