]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Move the virHostPMCapability enum helpers into capabilities.c
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Nov 2011 14:22:21 +0000 (14:22 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 30 Nov 2011 10:12:29 +0000 (10:12 +0000)
commit6ea25cd975a5db41d48062b1736ee214c1af07d0
treec1dc1a76f326478b904de31303cbff2aeb5018b5
parentae5e55289dc3adb793eeede2bd407aeeb1877563
Move the virHostPMCapability enum helpers into capabilities.c

The virHostPMCapability enum helper was declared in util.h
but implemented in capabilities.c, which is in a completely
separate library at link time. Move the declaration into the
capabilities.c file and rename it to match normal conventions

* src/util/util.h: Remove virHostPMCapability enum decl
* src/conf/capabilities.c: Add virCapsHostPMTarget enum
src/conf/capabilities.c
src/util/util.h