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.
#endif
}
+#ifdef __linux__
static int
nodeSetMemoryParameterValue(const char *field,
virTypedParameterPtr param)
VIR_FREE(strval);
return ret;
}
+#endif
int
nodeSetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
#endif
}
+#ifdef __linux__
static int
nodeGetMemoryParameterValue(const char *field,
void *value)
VIR_FREE(buf);
return ret;
}
+#endif
#define NODE_MEMORY_PARAMETERS_NUM 7
int