diff options
author | Kay Sievers <kay@vrfy.org> | 2014-07-30 09:46:35 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-07-30 09:46:35 -0400 |
commit | 65af29f3f7c43cdcc73fc224cfbf3e1ccbd9dd60 (patch) | |
tree | 3c7e0ca062f4e118378880cc857d071c9ab8920f /src/udev/udev-builtin-kmod.c | |
parent | 471a5f341168cff3f07474b7c4a88779bdd8ca1d (diff) |
udev: place opening { at the same line as the function declaration
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udev-builtin-kmod.c')
-rw-r--r-- | src/udev/udev-builtin-kmod.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c index a8792e097f..b83fd523d9 100644 --- a/src/udev/udev-builtin-kmod.c +++ b/src/udev/udev-builtin-kmod.c @@ -36,8 +36,7 @@ static struct kmod_ctx *ctx; -static int load_module(struct udev *udev, const char *alias) -{ +static int load_module(struct udev *udev, const char *alias) { int err; #ifdef HAVE_LIBKMOD struct kmod_list *list = NULL; @@ -88,13 +87,11 @@ static int load_module(struct udev *udev, const char *alias) _printf_(6,0) static void udev_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) { udev_main_log(data, priority, file, line, fn, format, args); } -static int builtin_kmod(struct udev_device *dev, int argc, char *argv[], bool test) -{ +static int builtin_kmod(struct udev_device *dev, int argc, char *argv[], bool test) { struct udev *udev = udev_device_get_udev(dev); int i; @@ -117,8 +114,7 @@ static int builtin_kmod(struct udev_device *dev, int argc, char *argv[], bool te } /* called at udev startup and reload */ -static int builtin_kmod_init(struct udev *udev) -{ +static int builtin_kmod_init(struct udev *udev) { #ifdef HAVE_LIBKMOD if (ctx) return 0; @@ -135,8 +131,7 @@ static int builtin_kmod_init(struct udev *udev) } /* called on udev shutdown and reload request */ -static void builtin_kmod_exit(struct udev *udev) -{ +static void builtin_kmod_exit(struct udev *udev) { #ifdef HAVE_LIBKMOD log_debug("unload module index"); ctx = kmod_unref(ctx); @@ -145,8 +140,7 @@ static void builtin_kmod_exit(struct udev *udev) #ifdef HAVE_LIBKMOD /* called every couple of seconds during event activity; 'true' if config has changed */ -static bool builtin_kmod_validate(struct udev *udev) -{ +static bool builtin_kmod_validate(struct udev *udev) { log_debug("validate module index"); if (!ctx) return false; |