diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2016-12-07 11:13:36 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-20 15:04:07 +1100 |
commit | 4b06a4645e19830581505a675075773adc0857c2 (patch) | |
tree | 94d77cc95f94432277e401763c65d3d7cbcc37d8 /discover/device-handler.h | |
parent | ea8bd5f424a9b01c71e1694bb5b6ffc13e3da4f5 (diff) | |
download | petitboot-4b06a4645e19830581505a675075773adc0857c2.zip petitboot-4b06a4645e19830581505a675075773adc0857c2.tar.gz |
types: shorten boot_status definitions
struct boot_status is a bit misnamed; we report status on things that
aren't just the boot status (eg, discovery).
This change refactors struct boot_status into just struct status. We
give the type enum a name, and shorten the enum values to suit.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r-- | discover/device-handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h index d2e3baf..c6f3ad1 100644 --- a/discover/device-handler.h +++ b/discover/device-handler.h @@ -96,7 +96,7 @@ int device_handler_dhcp(struct device_handler *handler, void device_handler_remove(struct device_handler *handler, struct discover_device *device); -void device_handler_boot_status(void *arg, struct boot_status *status); +void device_handler_boot_status(void *arg, struct status *status); struct discover_context *device_handler_discover_context_create( struct device_handler *handler, |