This patch adds 'void' to function declarations without parameters.
Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
[smcv: fix coding style while we're touching these lines anyway]
Reviewed-by: Simon McVittie <smcv@debian.org>
#endif
}
-static BOOL is_winxp_sp3_or_lower();
+static BOOL is_winxp_sp3_or_lower (void);
/*
* _MIB_TCPROW_EX and friends are not available in system headers
#ifndef DBUS_WINCE
-static BOOL is_winxp_sp3_or_lower()
+static BOOL
+is_winxp_sp3_or_lower (void)
{
OSVERSIONINFOEX osvi;
DWORDLONG dwlConditionMask = 0;
/* cannot get valid context from current thread, so we have to execute
* backtrace from another thread */
-static void dump_backtrace ()
+static void
+dump_backtrace (void)
{
HANDLE hCurrentThread;
HANDLE hThread;
#include <stdio.h>
-static dbus_bool_t print_install_root()
+static dbus_bool_t
+print_install_root (void)
{
DBusString runtime_prefix;
return TRUE;
}
-static dbus_bool_t print_service_dirs()
+static dbus_bool_t
+print_service_dirs (void)
{
DBusList *dirs;
DBusList *link;