summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-03-09 19:22:22 +0100
committerJim Meyering <meyering@redhat.com>2010-03-09 19:22:28 +0100
commit26f853e45d859555394efb3042bd7fc09bb5ef53 (patch)
tree25e4aebf5e45b1371483a058f1d4da75177dc2ce
parent812ed7a260b6003926c903b1938e341dedc44e35 (diff)
downloadlibvirt-python-v6-26f853e45d859555394efb3042bd7fc09bb5ef53.tar.gz
libvirt-python-v6-26f853e45d859555394efb3042bd7fc09bb5ef53.tar.xz
libvirt-python-v6-26f853e45d859555394efb3042bd7fc09bb5ef53.zip
build: consistently indent preprocessor directives
* global: patch created by running: for f in $(git ls-files '*.[ch]') ; do cppi $f > $f.t && mv $f.t $f done
-rw-r--r--typewrappers.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/typewrappers.h b/typewrappers.h
index dadcdd4..8e1998e 100644
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -11,14 +11,14 @@
#include "libvirt/virterror.h"
#ifdef __GNUC__
-#ifdef ATTRIBUTE_UNUSED
-#undef ATTRIBUTE_UNUSED
-#endif
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
-#endif /* ATTRIBUTE_UNUSED */
+# ifdef ATTRIBUTE_UNUSED
+# undef ATTRIBUTE_UNUSED
+# endif
+# ifndef ATTRIBUTE_UNUSED
+# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
+# endif /* ATTRIBUTE_UNUSED */
#else
-#define ATTRIBUTE_UNUSED
+# define ATTRIBUTE_UNUSED
#endif
#define PyvirConnect_Get(v) (((v) == Py_None) ? NULL : \