]> xenbits.xensource.com Git - libvirt.git/commit
conf: don't use "class" as name
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Tue, 12 Mar 2019 08:08:00 +0000 (11:08 +0300)
committerNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Mon, 18 Mar 2019 08:14:37 +0000 (11:14 +0300)
commit0eca80e606cfb21c1b95d3720de9b60418a32788
tree7ee05f4b402927256c00162a150d29715b00d379
parente7e6861489db61d5a17814eec38641737d3d8078
conf: don't use "class" as name

Vim treats *.h files as cpp ones with respect to syntax highlighting.
Thus "class" in _virNodeDevCapPCIDev highlighted mistakenly.
This can be fixed by filetype detection code tunables but it
is more convinient to skip this tuning by every project member.

Let's just use "klass" as field name instead of _class or class
and add syntax rule.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
cfg.mk
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/node_device/node_device_udev.c
tests/virpcimock.c