]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
include: Fix vertical spacing between comments and symbols
authorAndrea Bolognani <abologna@redhat.com>
Fri, 22 Apr 2022 12:12:07 +0000 (14:12 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 22 Apr 2022 13:04:07 +0000 (15:04 +0200)
There should be no empty lines between a docstring comment and
the symbol it documents.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
include/libvirt/libvirt-common.h.in
include/libvirt/libvirt-domain.h
include/libvirt/libvirt-host.h
include/libvirt/libvirt-nodedev.h
include/libvirt/virterror.h

index fedf9765a7c706c258f23e0773f9839c1bd218c7..78751cea7ce1092deee966f09c054f1b5f902cf2 100644 (file)
@@ -73,7 +73,6 @@ extern "C" {
  *
  * Since: v0.0.1
  */
-
 # define LIBVIR_VERSION_NUMBER @LIBVIRT_VERSION_NUMBER@
 
 /**
index 3121330bf0b4e185a8da47a4ee25f8a885c4bcb8..9aa214f3dfcf01e548352ebdee74682c5c3749b7 100644 (file)
@@ -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"
 
index 823988eb6653693686401e0ef5cc048ec92fec67..763c5fe774d03e48d11dc9bca22667b5ad2fc9ab 100644 (file)
@@ -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)
 
 
index 0125ae80a90c5ab6393e4c0b0947b8804dae53e9..cdf0df9e0acc992f67162dc44e44ef59bcba99ff 100644 (file)
@@ -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;
 
 
index aa2f5039fa0a0be3074d2406b3a33c69c0925d0f..2ae2b93be358f6840232dc5f1adf19ba7886d859 100644 (file)
@@ -159,7 +159,6 @@ typedef enum {
  *
  * Since: v0.1.0
  */
-
 typedef struct _virError virError;
 
 /**