Many of the set structures in the libxen interface contain a 'contents'
field with too many dimensions, particularly when 'contents' stores
references. References are defined in the various xen_*_decl.h headers
as 'void *'. Sets of the various classes are defined for example as
typedef void *xen_vm;
typedef struct xen_vm_set
{
size_t size;
xen_vm *contents[];
} xen_vm_set;
The additional dimension on 'contents' for sets of references is not
required.
- Jim
field with too many dimensions, particularly when 'contents' stores
references. References are defined in the various xen_*_decl.h headers
as 'void *'. Sets of the various classes are defined for example as
typedef void *xen_vm;
typedef struct xen_vm_set
{
size_t size;
xen_vm *contents[];
} xen_vm_set;
The additional dimension on 'contents' for sets of references is not
required.
- Jim