summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-input_id.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/udev-builtin-input_id.c
parent51f1ec3bbed72d5c0ee0fbcc346ed0fc82d18c96 (diff)
udev: place opening { at the same line as the function declaration
Diffstat (limited to 'src/udev/udev-builtin-input_id.c')
-rw-r--r--src/udev/udev-builtin-input_id.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/udev/udev-builtin-input_id.c b/src/udev/udev-builtin-input_id.c
index 3b2e8975f5..1a1121ef94 100644
--- a/src/udev/udev-builtin-input_id.c
+++ b/src/udev/udev-builtin-input_id.c
@@ -47,8 +47,7 @@
static void get_cap_mask(struct udev_device *dev,
struct udev_device *pdev, const char* attr,
unsigned long *bitmask, size_t bitmask_size,
- bool test)
-{
+ bool test) {
char text[4096];
unsigned i;
char* word;
@@ -96,8 +95,7 @@ static void test_pointers (struct udev_device *dev,
const unsigned long* bitmask_abs,
const unsigned long* bitmask_key,
const unsigned long* bitmask_rel,
- bool test)
-{
+ bool test) {
int is_mouse = 0;
int is_touchpad = 0;
@@ -154,8 +152,7 @@ static void test_pointers (struct udev_device *dev,
static void test_key (struct udev_device *dev,
const unsigned long* bitmask_ev,
const unsigned long* bitmask_key,
- bool test)
-{
+ bool test) {
unsigned i;
unsigned long found;
unsigned long mask;
@@ -193,8 +190,7 @@ static void test_key (struct udev_device *dev,
udev_builtin_add_property(dev, test, "ID_INPUT_KEYBOARD", "1");
}
-static int builtin_input_id(struct udev_device *dev, int argc, char *argv[], bool test)
-{
+static int builtin_input_id(struct udev_device *dev, int argc, char *argv[], bool test) {
struct udev_device *pdev;
unsigned long bitmask_ev[NBITS(EV_MAX)];
unsigned long bitmask_abs[NBITS(ABS_MAX)];