diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-08-03 09:54:10 +0100 |
---|---|---|
committer | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-08-03 09:54:10 +0100 |
commit | c32293d1dd3a4e7e9da4b09f460587532e7b5607 (patch) | |
tree | 712c30d50b535c3c8f023db8201d802c1c954982 /tools/libxl/libxl_device.c | |
parent | 258cd4e261de3b3f4470ba390b16c73101c802ce (diff) | |
download | xen-c32293d1dd3a4e7e9da4b09f460587532e7b5607.tar.gz xen-c32293d1dd3a4e7e9da4b09f460587532e7b5607.tar.bz2 xen-c32293d1dd3a4e7e9da4b09f460587532e7b5607.zip |
libxl: fix formatting of DEFINE_DEVICES_ADD
These lines were exactly 80 columns wide, which produces hideous wrap
damage in an 80 column emacs. Reformat using emacs's C-c \,
which puts the \ in column 72 (by default) where possible.
Whitespace change only.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_device.c')
-rw-r--r-- | tools/libxl/libxl_device.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c index 79dd5021cd..4a531811d7 100644 --- a/tools/libxl/libxl_device.c +++ b/tools/libxl/libxl_device.c @@ -483,19 +483,19 @@ void libxl__multidev_prepared(libxl__egc *egc, libxl__ao_devices *aodevs, * libxl__add_nics */ -#define DEFINE_DEVICES_ADD(type) \ - void libxl__add_##type##s(libxl__egc *egc, libxl__ao *ao, uint32_t domid, \ - int start, libxl_domain_config *d_config, \ - libxl__ao_devices *aodevs) \ - { \ - AO_GC; \ - int i; \ - int end = start + d_config->num_##type##s; \ - for (i = start; i < end; i++) { \ - libxl__ao_device *aodev = libxl__multidev_prepare(aodevs); \ - libxl__device_##type##_add(egc, domid, &d_config->type##s[i-start],\ - aodev); \ - } \ +#define DEFINE_DEVICES_ADD(type) \ + void libxl__add_##type##s(libxl__egc *egc, libxl__ao *ao, uint32_t domid, \ + int start, libxl_domain_config *d_config, \ + libxl__ao_devices *aodevs) \ + { \ + AO_GC; \ + int i; \ + int end = start + d_config->num_##type##s; \ + for (i = start; i < end; i++) { \ + libxl__ao_device *aodev = libxl__multidev_prepare(aodevs); \ + libxl__device_##type##_add(egc, domid, &d_config->type##s[i-start], \ + aodev); \ + } \ } DEFINE_DEVICES_ADD(disk) |