diff options
author | Kay Sievers <kay@vrfy.org> | 2014-07-29 15:47:41 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-07-29 15:49:25 +0200 |
commit | 9ec6e95b046de71c0198cb9d17acc5462dc76c74 (patch) | |
tree | fc604ecf68adf028611982dcdb34e2d3763a6631 /src/udev/udev-builtin-firmware.c | |
parent | 51f1ec3bbed72d5c0ee0fbcc346ed0fc82d18c96 (diff) |
udev: place opening { at the same line as the function declaration
Diffstat (limited to 'src/udev/udev-builtin-firmware.c')
-rw-r--r-- | src/udev/udev-builtin-firmware.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/udev/udev-builtin-firmware.c b/src/udev/udev-builtin-firmware.c index 8cfeed663b..bd8c2fb966 100644 --- a/src/udev/udev-builtin-firmware.c +++ b/src/udev/udev-builtin-firmware.c @@ -27,8 +27,7 @@ #include "udev.h" -static bool set_loading(struct udev *udev, char *loadpath, const char *state) -{ +static bool set_loading(struct udev *udev, char *loadpath, const char *state) { FILE *ldfile; ldfile = fopen(loadpath, "we"); @@ -41,8 +40,7 @@ static bool set_loading(struct udev *udev, char *loadpath, const char *state) return true; } -static bool copy_firmware(struct udev *udev, const char *source, const char *target, size_t size) -{ +static bool copy_firmware(struct udev *udev, const char *source, const char *target, size_t size) { char *buf; FILE *fsource = NULL, *ftarget = NULL; bool ret = false; @@ -74,8 +72,7 @@ exit: return ret; } -static int builtin_firmware(struct udev_device *dev, int argc, char *argv[], bool test) -{ +static int builtin_firmware(struct udev_device *dev, int argc, char *argv[], bool test) { struct udev *udev = udev_device_get_udev(dev); static const char *searchpath[] = { FIRMWARE_PATH }; char loadpath[UTIL_PATH_SIZE]; |