From 3afc4098c74280571a4250400c1c2b40dd3f54d1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 24 Oct 2014 09:46:31 +0100 Subject: Squash redefinition of typedef Clang warning. Clang gave warning: redefinition of typedef 'fbtk_widget_t' is a C11 feature [-Wtypedef-redefinition] Thanks to Christian Lepper. ML: netsurf-dev Thread: New User - Hello to all - some Ideas concerning Netsurf for arm --- framebuffer/gui.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/framebuffer/gui.h b/framebuffer/gui.h index e102b2551..b17792a10 100644 --- a/framebuffer/gui.h +++ b/framebuffer/gui.h @@ -19,8 +19,10 @@ #ifndef NETSURF_FB_GUI_H #define NETSURF_FB_GUI_H + +struct fbtk_widget_s; + typedef struct fb_cursor_s fb_cursor_t; -typedef struct fbtk_widget_s fbtk_widget_t; /* bounding box */ typedef struct nsfb_bbox_s bbox_t; @@ -69,7 +71,7 @@ extern struct gui_window *window_list; struct gui_localhistory *fb_create_localhistory(struct browser_window *bw, struct fbtk_widget_s *parent, int furniture_width); void fb_localhistory_map(struct gui_localhistory * glh); -void gui_resize(fbtk_widget_t *root, int width, int height); +void gui_resize(struct fbtk_widget_s *root, int width, int height); #endif /* NETSURF_FB_GUI_H */ -- cgit v1.2.3