From 27227c1a7fc7512c249daf94dabe8d793aa67c35 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 26 Jul 2011 16:03:20 +0100 Subject: [PATCH 01/10] _dbus_verbose_real: tidy conditional prototype to not break nesting The mismatched opening parenthesis caused vim syntax highlighting to consider every subsequent brace in the file to be an error, which was pretty annoying. --- dbus/dbus-internals.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dbus/dbus-internals.c b/dbus/dbus-internals.c index 472e49c..a5db146 100644 --- a/dbus/dbus-internals.c +++ b/dbus/dbus-internals.c @@ -390,14 +390,13 @@ _dbus_is_verbose_real (void) * @param format printf-style format string. */ void +_dbus_verbose_real ( #ifdef DBUS_CPP_SUPPORTS_VARIABLE_MACRO_ARGUMENTS -_dbus_verbose_real (const char *file, + const char *file, const int line, const char *function, - const char *format, -#else -_dbus_verbose_real (const char *format, #endif + const char *format, ...) { va_list args; -- 1.7.9