summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-control.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-07-30 09:46:35 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-07-30 09:46:35 -0400
commit65af29f3f7c43cdcc73fc224cfbf3e1ccbd9dd60 (patch)
tree3c7e0ca062f4e118378880cc857d071c9ab8920f /src/udev/udevadm-control.c
parent471a5f341168cff3f07474b7c4a88779bdd8ca1d (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/udevadm-control.c')
-rw-r--r--src/udev/udevadm-control.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/udev/udevadm-control.c b/src/udev/udevadm-control.c
index 3a6c8ef4fe..6e3bc2ae98 100644
--- a/src/udev/udevadm-control.c
+++ b/src/udev/udevadm-control.c
@@ -28,8 +28,7 @@
#include "udev.h"
#include "udev-util.h"
-static void print_help(void)
-{
+static void print_help(void) {
printf("Usage: udevadm control COMMAND\n"
" -e,--exit instruct the daemon to cleanup and exit\n"
" -l,--log-priority=LEVEL set the udev log level for the daemon\n"
@@ -42,8 +41,7 @@ static void print_help(void)
" -h,--help print this help text\n\n");
}
-static int adm_control(struct udev *udev, int argc, char *argv[])
-{
+static int adm_control(struct udev *udev, int argc, char *argv[]) {
_cleanup_udev_ctrl_unref_ struct udev_ctrl *uctrl = NULL;
int timeout = 60;
int rc = 1, c;