There should be no empty lines between a docstring comment and the symbol it documents. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- include/libvirt/libvirt-common.h.in | 1 - include/libvirt/libvirt-domain.h | 15 --------------- include/libvirt/libvirt-host.h | 7 ------- include/libvirt/libvirt-nodedev.h | 2 -- include/libvirt/virterror.h | 1 - 5 files changed, 26 deletions(-) diff --git a/include/libvirt/libvirt-common.h.in b/include/libvirt/libvirt-common.h.in index fedf9765a7..78751cea7c 100644 --- a/include/libvirt/libvirt-common.h.in +++ b/include/libvirt/libvirt-common.h.in @@ -73,7 +73,6 @@ extern "C" { * * Since: v0.0.1 */ - # define LIBVIR_VERSION_NUMBER @LIBVIRT_VERSION_NUMBER@ /** diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index 3121330bf0..9aa214f3df 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -350,7 +350,6 @@ struct _virDomainInfo { * * Since: v0.0.1 */ - typedef virDomainInfo *virDomainInfoPtr; /** @@ -1618,7 +1617,6 @@ char * virDomainGetSchedulerType(virDomainPtr domain, * * Since: v0.9.0 */ - # define VIR_DOMAIN_BLKIO_WEIGHT "weight" /** @@ -1630,7 +1628,6 @@ char * virDomainGetSchedulerType(virDomainPtr domain, * * Since: v0.9.8 */ - # define VIR_DOMAIN_BLKIO_DEVICE_WEIGHT "device_weight" /** @@ -1643,7 +1640,6 @@ char * virDomainGetSchedulerType(virDomainPtr domain, * * Since: v1.2.2 */ - # define VIR_DOMAIN_BLKIO_DEVICE_READ_IOPS "device_read_iops_sec" @@ -1703,7 +1699,6 @@ int virDomainGetBlkioParameters(virDomainPtr domain, * * Since: v0.8.8 */ - # define VIR_DOMAIN_MEMORY_PARAM_UNLIMITED 9007199254740991LL /* = INT64_MAX >> 10 */ /** @@ -1714,7 +1709,6 @@ int virDomainGetBlkioParameters(virDomainPtr domain, * * Since: v0.8.5 */ - # define VIR_DOMAIN_MEMORY_HARD_LIMIT "hard_limit" /** @@ -1725,7 +1719,6 @@ int virDomainGetBlkioParameters(virDomainPtr domain, * * Since: v0.8.5 */ - # define VIR_DOMAIN_MEMORY_SOFT_LIMIT "soft_limit" /** @@ -1736,7 +1729,6 @@ int virDomainGetBlkioParameters(virDomainPtr domain, * * Since: v0.8.5 */ - # define VIR_DOMAIN_MEMORY_MIN_GUARANTEE "min_guarantee" /** @@ -1748,7 +1740,6 @@ int virDomainGetBlkioParameters(virDomainPtr domain, * * Since: v0.8.5 */ - # define VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT "swap_hard_limit" /* Set memory tunables for the domain */ @@ -2421,7 +2412,6 @@ int virDomainSetIOThreadParams(virDomainPtr domain, * * Since: v0.1.4 */ - # define VIR_USE_CPU(cpumap, cpu) ((cpumap)[(cpu) / 8] |= (1 << ((cpu) % 8))) /** @@ -2434,7 +2424,6 @@ int virDomainSetIOThreadParams(virDomainPtr domain, * * Since: v0.1.4 */ - # define VIR_UNUSE_CPU(cpumap, cpu) ((cpumap)[(cpu) / 8] &= ~(1 << ((cpu) % 8))) /** @@ -2447,7 +2436,6 @@ int virDomainSetIOThreadParams(virDomainPtr domain, * * Since: v1.0.0 */ - # define VIR_CPU_USED(cpumap, cpu) ((cpumap)[(cpu) / 8] & (1 << ((cpu) % 8))) /** @@ -2460,7 +2448,6 @@ int virDomainSetIOThreadParams(virDomainPtr domain, * * Since: v0.1.4 */ - # define VIR_CPU_MAPLEN(cpu) (((cpu) + 7) / 8) @@ -2483,7 +2470,6 @@ int virDomainGetVcpus (virDomainPtr domain, * * Since: v0.1.4 */ - # define VIR_CPU_USABLE(cpumaps, maplen, vcpu, cpu) \ VIR_CPU_USED(VIR_GET_CPUMAP(cpumaps, maplen, vcpu), cpu) @@ -2648,7 +2634,6 @@ void virDomainStatsRecordListFree(virDomainStatsRecordPtr *stats); * "perf.mbmt" field in the *Stats APIs. * * Since: v1.3.5 - */ # define VIR_PERF_PARAM_MBMT "mbmt" diff --git a/include/libvirt/libvirt-host.h b/include/libvirt/libvirt-host.h index 823988eb66..763c5fe774 100644 --- a/include/libvirt/libvirt-host.h +++ b/include/libvirt/libvirt-host.h @@ -482,8 +482,6 @@ int virNodeGetCPUMap(virConnectPtr conn, * * Since: v0.1.4 */ - - # define VIR_NODEINFO_MAXCPUS(nodeinfo) ((nodeinfo).nodes*(nodeinfo).sockets*(nodeinfo).cores*(nodeinfo).threads) /** @@ -493,7 +491,6 @@ int virNodeGetCPUMap(virConnectPtr conn, * * Since: v0.1.0 */ - typedef virNodeInfo *virNodeInfoPtr; /** @@ -503,7 +500,6 @@ typedef virNodeInfo *virNodeInfoPtr; * * Since: v0.9.3 */ - typedef virNodeCPUStats *virNodeCPUStatsPtr; /** @@ -513,7 +509,6 @@ typedef virNodeCPUStats *virNodeCPUStatsPtr; * * Since: v0.9.3 */ - typedef virNodeMemoryStats *virNodeMemoryStatsPtr; @@ -704,7 +699,6 @@ VIR_EXPORT_VAR virConnectAuthPtr virConnectAuthPtrDefault; * * Since: v0.2.0 */ - # define VIR_UUID_BUFLEN (16) /** @@ -715,7 +709,6 @@ VIR_EXPORT_VAR virConnectAuthPtr virConnectAuthPtrDefault; * * Since: v0.2.0 */ - # define VIR_UUID_STRING_BUFLEN (36+1) diff --git a/include/libvirt/libvirt-nodedev.h b/include/libvirt/libvirt-nodedev.h index 0125ae80a9..cdf0df9e0a 100644 --- a/include/libvirt/libvirt-nodedev.h +++ b/include/libvirt/libvirt-nodedev.h @@ -35,7 +35,6 @@ * * Since: v0.5.0 */ - typedef struct _virNodeDevice virNodeDevice; /** @@ -48,7 +47,6 @@ typedef struct _virNodeDevice virNodeDevice; * * Since: v0.5.0 */ - typedef virNodeDevice *virNodeDevicePtr; diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h index aa2f5039fa..2ae2b93be3 100644 --- a/include/libvirt/virterror.h +++ b/include/libvirt/virterror.h @@ -159,7 +159,6 @@ typedef enum { * * Since: v0.1.0 */ - typedef struct _virError virError; /** -- 2.35.1