mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
ch_monitor: Make virCHMonitorGet function static
The virCHMonitorGet function isn't going to be used outside of the monitor, so remove the initial declaration and define the function to be static. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
parent
14da5cb95a
commit
3b164e6897
@ -54,7 +54,6 @@ VIR_ONCE_GLOBAL_INIT(virCHMonitor);
|
|||||||
|
|
||||||
int virCHMonitorShutdownVMM(virCHMonitor *mon);
|
int virCHMonitorShutdownVMM(virCHMonitor *mon);
|
||||||
int virCHMonitorPutNoContent(virCHMonitor *mon, const char *endpoint);
|
int virCHMonitorPutNoContent(virCHMonitor *mon, const char *endpoint);
|
||||||
int virCHMonitorGet(virCHMonitor *mon, const char *endpoint, virJSONValue **response);
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
virCHMonitorBuildCPUJson(virJSONValue *content, virDomainDef *vmdef)
|
virCHMonitorBuildCPUJson(virJSONValue *content, virDomainDef *vmdef)
|
||||||
@ -634,7 +633,7 @@ curl_callback(void *contents, size_t size, size_t nmemb, void *userp)
|
|||||||
return content_size;
|
return content_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
virCHMonitorGet(virCHMonitor *mon, const char *endpoint, virJSONValue **response)
|
virCHMonitorGet(virCHMonitor *mon, const char *endpoint, virJSONValue **response)
|
||||||
{
|
{
|
||||||
g_autofree char *url = NULL;
|
g_autofree char *url = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user