]> xenbits.xensource.com Git - libvirt.git/commit
build: fix nodeinfo build on non-Linux platforms
authorEric Blake <eblake@redhat.com>
Tue, 18 Sep 2012 23:04:50 +0000 (17:04 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 18 Sep 2012 23:48:07 +0000 (17:48 -0600)
commit35a03a6623ae271d655cf9fb301f8ab5a35a68b9
tree714e2bcc034ad3aa1285246f492a456046cb2d26
parentfd66ea669c131f660799bb6f9ea9988a17cd03ef
build: fix nodeinfo build on non-Linux platforms

Commit aaa8ab3 added new static functions that are only used on Linux;
but commit 22acfdc didn't go far enough to fix compiler issues.

* src/nodeinfo.c (nodeSetMemoryParameterValue)
(nodeGetMemoryParameterValue): Conditionally compile based on use.
src/nodeinfo.c