]> git.ozlabs.org Git - petitboot/commitdiff
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)
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>

No differences found