diff options
author | Andrea Bolognani <abologna@redhat.com> | 2017-11-03 13:09:47 +0100 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2017-11-03 13:24:12 +0100 |
commit | 3e7db8d3e8538bcd5deb1b111fb1233fc18831aa (patch) | |
tree | 33603505f2d95869500875a82cde7ebf847fe125 /src/datatypes.c | |
parent | a92c4f7537577f1443ddd6fef4e0dfcb054e5f08 (diff) | |
download | libvirt-3e7db8d3e8538bcd5deb1b111fb1233fc18831aa.tar.gz |
Remove backslash alignment attempts
Right-aligning backslashes when defining macros or using complex
commands in Makefiles looks cute, but as soon as any changes is
required to the code you end up with either distractingly broken
alignment or unnecessarily big diffs where most of the changes
are just pushing all backslashes a few characters to one side.
Generated using
$ git grep -El '[[:blank:]][[:blank:]]\\$' | \
grep -E '*\.([chx]|am|mk)$$' | \
while read f; do \
sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
done
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Diffstat (limited to 'src/datatypes.c')
-rw-r--r-- | src/datatypes.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datatypes.c b/src/datatypes.c index 46414ae292..f7eef24ba8 100644 --- a/src/datatypes.c +++ b/src/datatypes.c @@ -73,15 +73,15 @@ static void virAdmClientDispose(void *obj); static int virDataTypesOnceInit(void) { -#define DECLARE_CLASS_COMMON(basename, parent) \ - if (!(basename ## Class = virClassNew(parent, \ - #basename, \ - sizeof(basename), \ +#define DECLARE_CLASS_COMMON(basename, parent) \ + if (!(basename ## Class = virClassNew(parent, \ + #basename, \ + sizeof(basename), \ basename ## Dispose))) \ return -1; -#define DECLARE_CLASS(basename) \ +#define DECLARE_CLASS(basename) \ DECLARE_CLASS_COMMON(basename, virClassForObject()) -#define DECLARE_CLASS_LOCKABLE(basename) \ +#define DECLARE_CLASS_LOCKABLE(basename) \ DECLARE_CLASS_COMMON(basename, virClassForObjectLockable()) DECLARE_CLASS_LOCKABLE(virConnect); |