mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
virhostcpu: Make only defined symbols available
That way you get the error from the compiler before the linker. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
9c5ac84d76
commit
71732f0f54
@ -57,10 +57,13 @@ int virHostCPUStatsAssign(virNodeCPUStatsPtr param,
|
||||
const char *name,
|
||||
unsigned long long value);
|
||||
|
||||
# ifdef __linux__
|
||||
int virHostCPUGetSocket(unsigned int cpu, unsigned int *socket);
|
||||
int virHostCPUGetCore(unsigned int cpu, unsigned int *core);
|
||||
int virHostCPUGetOnline(unsigned int cpu, bool *online);
|
||||
|
||||
virBitmapPtr virHostCPUGetSiblingsList(unsigned int cpu);
|
||||
# endif
|
||||
|
||||
int virHostCPUGetOnline(unsigned int cpu, bool *online);
|
||||
|
||||
#endif /* __VIR_HOSTCPU_H__*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user