diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-04-10 12:19:13 +1000 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2013-04-10 10:49:01 -0700 |
commit | ee86a0bd989511319adf3467b41b5b2e1f486aa6 (patch) | |
tree | 43ecd9479052388dc6bd3dae697fc2a9f6962d42 /ui/ncurses | |
parent | 6b2d8ff75f1b9554d01dc6872b4498d660827e58 (diff) | |
download | petitboot-ee86a0bd989511319adf3467b41b5b2e1f486aa6.zip petitboot-ee86a0bd989511319adf3467b41b5b2e1f486aa6.tar.gz |
lib/types: Create common file for type definitions
The device and boot_option types are defined in pb-protocol.h, but
aren't really specific to the procotol. This means a lot of
non-messaging-related files are #including the protocol definitions
unnecessarily.
This change separates the types out into lib/types/types.h.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui/ncurses')
-rw-r--r-- | ui/ncurses/nc-ked.h | 2 | ||||
-rw-r--r-- | ui/ncurses/nc-menu.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/ncurses/nc-ked.h b/ui/ncurses/nc-ked.h index 62fddd6..2f2792d 100644 --- a/ui/ncurses/nc-ked.h +++ b/ui/ncurses/nc-ked.h @@ -23,7 +23,7 @@ #include <linux/input.h> /* This must be included before ncurses.h */ #include <form.h> -#include "pb-protocol/pb-protocol.h" +#include "types/types.h" #include "ui/common/ui-system.h" #include "nc-scr.h" diff --git a/ui/ncurses/nc-menu.h b/ui/ncurses/nc-menu.h index 4abec6f..750bef5 100644 --- a/ui/ncurses/nc-menu.h +++ b/ui/ncurses/nc-menu.h @@ -24,7 +24,7 @@ #include <menu.h> #include "log/log.h" -#include "pb-protocol/pb-protocol.h" +#include "types/types.h" #include "nc-scr.h" struct pmenu; |