From ee86a0bd989511319adf3467b41b5b2e1f486aa6 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 10 Apr 2013 12:19:13 +1000 Subject: 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 Signed-off-by: Geoff Levand --- discover/parser-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discover/parser-utils.h') diff --git a/discover/parser-utils.h b/discover/parser-utils.h index fe28b7b..107f4f3 100644 --- a/discover/parser-utils.h +++ b/discover/parser-utils.h @@ -1,7 +1,7 @@ #ifndef PARSER_UTILS_H #define PARSER_UTILS_H -#include "pb-protocol/pb-protocol.h" +#include "types/types.h" #include "parser.h" #define streq(a,b) (!strcasecmp((a),(b))) -- cgit v1.1