]> git.ozlabs.org Git - petitboot/commit
lib/types: Create common file for type definitions
authorJeremy Kerr <jk@ozlabs.org>
Wed, 10 Apr 2013 02:19:13 +0000 (12:19 +1000)
committerGeoff Levand <geoff@infradead.org>
Wed, 10 Apr 2013 17:49:01 +0000 (10:49 -0700)
commitee86a0bd989511319adf3467b41b5b2e1f486aa6
tree43ecd9479052388dc6bd3dae697fc2a9f6962d42
parent6b2d8ff75f1b9554d01dc6872b4498d660827e58
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>
17 files changed:
discover/device-handler.c
discover/grub2-parser.c
discover/kboot-parser.c
discover/parser-utils.c
discover/parser-utils.h
discover/parser.c
discover/yaboot-parser.c
lib/Makefile.am
lib/pb-protocol/pb-protocol.h
lib/types/types.h [new file with mode: 0644]
test/parser/parser-test.c
ui/common/discover-client.h
ui/common/ui-system.h
ui/ncurses/nc-ked.h
ui/ncurses/nc-menu.h
ui/twin/pbt-client.c
ui/twin/pbt-menu.h