]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cgroup: functional sort
authorEric Blake <eblake@redhat.com>
Mon, 12 Aug 2013 21:20:59 +0000 (15:20 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 12 Aug 2013 22:08:18 +0000 (16:08 -0600)
commit2ff9e54cbf9728f3ffc7897df1ab8e914ed9ce8c
treeeb09f908912d253a10767a04ed7e3de32d5a6255
parent7ccd322b2067d0d7f082b6d5de4173c3b4df33ca
cgroup: functional sort

Make future patches smaller by matching a sane header listing in
the first place.  No semantic change.

* src/util/vircgroup.h: Move free next to new, and controller
functions next to each other.
* src/util/vircgroup.c (virCgroupFree, virCgroupHasController)
(virCgroupPathOfController, virCgroupRemoveRecursively)
(virCgroupRemove): Sort implementation to be closer to header.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/util/vircgroup.c
src/util/vircgroup.h