diff --git a/layout.c b/layout.c index e71f6a40c..9df003516 100644 --- a/layout.c +++ b/layout.c @@ -29,6 +29,12 @@ struct flashrom_layout { struct romentry *head; }; +struct layout_include_args { + char *name; + char *file; + struct layout_include_args *next; +}; + static struct flashrom_layout *global_layout; struct flashrom_layout *get_global_layout(void) diff --git a/layout.h b/layout.h index bf183a670..808c516aa 100644 --- a/layout.h +++ b/layout.h @@ -47,11 +47,7 @@ struct romentry { struct flashrom_layout; -struct layout_include_args { - char *name; - char *file; - struct layout_include_args *next; -}; +struct layout_include_args; struct flashrom_flashctx; struct flashrom_layout *get_global_layout(void);