X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fudev%2Fudevadm-trigger.c;h=a52d1b5ad5072120cad792274d3448ef0d46cf29;hb=f1e8664e4a86f9b9b8d8a001d886d69f1ac42e9b;hp=0ee27bb40873d3569f5d3c8a195bf2fdb4139087;hpb=c8a202b7d47f9d6bba3100a208abdadfc383499e;p=elogind.git diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c index 0ee27bb40..a52d1b5ad 100644 --- a/src/udev/udevadm-trigger.c +++ b/src/udev/udevadm-trigger.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -38,8 +37,7 @@ static int verbose; static int dry_run; -static void exec_list(struct udev_enumerate *udev_enumerate, const char *action) -{ +static void exec_list(struct udev_enumerate *udev_enumerate, const char *action) { struct udev_list_entry *entry; udev_list_entry_foreach(entry, udev_enumerate_get_list_entry(udev_enumerate)) { @@ -60,8 +58,7 @@ static void exec_list(struct udev_enumerate *udev_enumerate, const char *action) } } -static const char *keyval(const char *str, const char **val, char *buf, size_t size) -{ +static const char *keyval(const char *str, const char **val, char *buf, size_t size) { char *pos; strscpy(buf, size,str); @@ -93,8 +90,7 @@ static void help(void) { " -h,--help\n\n"); } -static int adm_trigger(struct udev *udev, int argc, char *argv[]) -{ +static int adm_trigger(struct udev *udev, int argc, char *argv[]) { static const struct option options[] = { { "verbose", no_argument, NULL, 'v' }, { "dry-run", no_argument, NULL, 'n' },