summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-24 09:46:31 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-24 09:49:37 +0100
commit3afc4098c74280571a4250400c1c2b40dd3f54d1 (patch)
tree0d3b4b00968f7df284b181b242ff67d070c0ba92
parent7cfec6970050b8589194551b71b4375982920a88 (diff)
downloadnetsurf-3afc4098c74280571a4250400c1c2b40dd3f54d1.tar.gz
netsurf-3afc4098c74280571a4250400c1c2b40dd3f54d1.tar.bz2
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
-rw-r--r--framebuffer/gui.h6
1 files 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 */