summaryrefslogtreecommitdiffstats
path: root/lib/types/types.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-17 11:41:04 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-06-24 12:52:49 +0800
commit936e57208c8e651be0f3dee6cfc635d719410100 (patch)
tree508128a49bfb9f10ef816fed2a9d808842fefc64 /lib/types/types.h
parent4dc604b496f388e6896d46bb02d109103c316e4f (diff)
downloadtalos-petitboot-936e57208c8e651be0f3dee6cfc635d719410100.tar.gz
talos-petitboot-936e57208c8e651be0f3dee6cfc635d719410100.zip
types: Add is_default to struct boot_option
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r--lib/types/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index 90b23c3..5be2cb6 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -1,6 +1,7 @@
#ifndef _TYPES_H
#define _TYPES_H
+#include <stdbool.h>
#include <list/list.h>
struct device {
@@ -24,6 +25,7 @@ struct boot_option {
char *boot_image_file;
char *initrd_file;
char *boot_args;
+ bool is_default;
struct list_item list;
OpenPOWER on IntegriCloud