summaryrefslogtreecommitdiff
path: root/src/modules-load
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-03 22:27:45 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-03 22:27:45 +0100
commitf168c27313e4d7b0aabee037dc9c78a5799f0597 (patch)
treedf9ad884b2fdf45f519d04075dc67c8b82bb2915 /src/modules-load
parent53ab52ac6d2a12ba24f3cfd618c12c99871947ed (diff)
trivial coding style clean ups
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { }
Diffstat (limited to 'src/modules-load')
-rw-r--r--src/modules-load/modules-load.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c
index d37eec3f9..0fa7807bb 100644
--- a/src/modules-load/modules-load.c
+++ b/src/modules-load/modules-load.c
@@ -51,8 +51,7 @@ static const char conf_file_dirs[] =
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
static void systemd_kmod_log(void *data, int priority, const char *file, int line,
- const char *fn, const char *format, va_list args)
-{
+ const char *fn, const char *format, va_list args) {
log_metav(priority, file, line, fn, format, args);
}
#pragma GCC diagnostic pop