diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-14 01:53:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-14 01:53:23 +0200 |
commit | 1985c76e48753c200b5a15630b00245c3f60775b (patch) | |
tree | 7b7b6e186a9889930dbe92e1f80ca3cdac6c5a76 /udev/udevadm-settle.c | |
parent | b3ca87a04a6bc32d852774211b35313ec8a09da1 (diff) |
udevadm: move udevadm command descriptions into their files
Diffstat (limited to 'udev/udevadm-settle.c')
-rw-r--r-- | udev/udevadm-settle.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c index b17ba806d0..d40c8c8d5e 100644 --- a/udev/udevadm-settle.c +++ b/udev/udevadm-settle.c @@ -36,7 +36,7 @@ #include "udev.h" -int udevadm_settle(struct udev *udev, int argc, char *argv[]) +static int adm_settle(struct udev *udev, int argc, char *argv[]) { static const struct option options[] = { { "seq-start", required_argument, NULL, 's' }, @@ -225,3 +225,9 @@ out: udev_queue_unref(udev_queue); return rc; } + +const struct udevadm_cmd udevadm_settle = { + .name = "settle", + .cmd = adm_settle, + .help = "wait for the event queue to finish", +}; |