mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
include: Fix vertical spacing between comments and symbols
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>
This commit is contained in:
parent
db56fa77e9
commit
de0a50833f
@ -73,7 +73,6 @@ extern "C" {
|
||||
*
|
||||
* Since: v0.0.1
|
||||
*/
|
||||
|
||||
# define LIBVIR_VERSION_NUMBER @LIBVIRT_VERSION_NUMBER@
|
||||
|
||||
/**
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
@ -159,7 +159,6 @@ typedef enum {
|
||||
*
|
||||
* Since: v0.1.0
|
||||
*/
|
||||
|
||||
typedef struct _virError virError;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user