]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: avoid further typedef accidents
authorEric Blake <eblake@redhat.com>
Tue, 29 Oct 2013 19:57:19 +0000 (13:57 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 30 Oct 2013 23:02:12 +0000 (17:02 -0600)
commitfb8613525df4e3efdfb74ac59293fb4cc6a75fd8
tree9ed8fca66f4487410c0a0157fbcbfd0462551fc8
parent5eb3dff5b6121b2b81b2dc7ac023feb095489d09
maint: avoid further typedef accidents

To make it easier to forbid future attempts at a confusing typedef
name ending in Ptr that isn't actually a pointer, insist that we
follow our preferred style of 'typedef foo *fooPtr'.

* cfg.mk (sc_forbid_const_pointer_typedef): Enforce consistent
style, to prevent issue fixed in previous storage patch.
* src/conf/capabilities.h (virCapsPtr): Fix offender.
* src/security/security_stack.c (virSecurityStackItemPtr):
Likewise.
* tests/qemucapabilitiestest.c (testQemuDataPtr): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
cfg.mk
src/conf/capabilities.h
src/security/security_stack.c
tests/qemucapabilitiestest.c