summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-test-builtin.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-07-29 15:47:41 +0200
committerKay Sievers <kay@vrfy.org>2014-07-29 15:49:25 +0200
commit9ec6e95b046de71c0198cb9d17acc5462dc76c74 (patch)
treefc604ecf68adf028611982dcdb34e2d3763a6631 /src/udev/udevadm-test-builtin.c
parent51f1ec3bbed72d5c0ee0fbcc346ed0fc82d18c96 (diff)
udev: place opening { at the same line as the function declaration
Diffstat (limited to 'src/udev/udevadm-test-builtin.c')
-rw-r--r--src/udev/udevadm-test-builtin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/udev/udevadm-test-builtin.c b/src/udev/udevadm-test-builtin.c
index 80418783ff..179f269693 100644
--- a/src/udev/udevadm-test-builtin.c
+++ b/src/udev/udevadm-test-builtin.c
@@ -34,16 +34,14 @@
#include "udev.h"
-static void help(struct udev *udev)
-{
+static void help(struct udev *udev) {
fprintf(stderr, "\n");
fprintf(stderr, "Usage: udevadm builtin [--help] COMMAND SYSPATH\n");
udev_builtin_list(udev);
fprintf(stderr, "\n");
}
-static int adm_builtin(struct udev *udev, int argc, char *argv[])
-{
+static int adm_builtin(struct udev *udev, int argc, char *argv[]) {
static const struct option options[] = {
{ "help", no_argument, NULL, 'h' },
{}