r5413 dsilvers - in /branches/vince/netsurf-fb/framebuffer: fb_font.h fb_frontend.h fb_gui.h

netsurf at semichrome.net netsurf at semichrome.net
Tue Sep 23 10:58:00 BST 2008


Author: dsilvers
Date: Tue Sep 23 04:58:00 2008
New Revision: 5413

URL: http://source.netsurf-browser.org?rev=5413&view=rev
Log:
Add header guards

Modified:
    branches/vince/netsurf-fb/framebuffer/fb_font.h
    branches/vince/netsurf-fb/framebuffer/fb_frontend.h
    branches/vince/netsurf-fb/framebuffer/fb_gui.h

Modified: branches/vince/netsurf-fb/framebuffer/fb_font.h
URL: http://source.netsurf-browser.org/branches/vince/netsurf-fb/framebuffer/fb_font.h?rev=5413&r1=5412&r2=5413&view=diff
==============================================================================
--- branches/vince/netsurf-fb/framebuffer/fb_font.h (original)
+++ branches/vince/netsurf-fb/framebuffer/fb_font.h Tue Sep 23 04:58:00 2008
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef NETSURF_FB_FONT_H
+#define NETSURF_FB_FONT_H
 
 struct fb_font_desc {
     const char *name;
@@ -32,3 +34,6 @@
 				       const char *string, 
 				       size_t len,
 				       char **result);
+
+#endif /* NETSURF_FB_FONT_H */
+

Modified: branches/vince/netsurf-fb/framebuffer/fb_frontend.h
URL: http://source.netsurf-browser.org/branches/vince/netsurf-fb/framebuffer/fb_frontend.h?rev=5413&r1=5412&r2=5413&view=diff
==============================================================================
--- branches/vince/netsurf-fb/framebuffer/fb_frontend.h (original)
+++ branches/vince/netsurf-fb/framebuffer/fb_frontend.h Tue Sep 23 04:58:00 2008
@@ -16,6 +16,11 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef NETSURF_FB_FRONTEND_H
+#define NETSURF_FB_FRONTEND_H
+
 extern framebuffer_t *fb_os_init(int argc, char** argv);
 extern void fb_os_quit(framebuffer_t *fb);
 extern void fb_os_input(struct gui_window *g);
+
+#endif /* NETSURF_FB_FRONTEND_H */

Modified: branches/vince/netsurf-fb/framebuffer/fb_gui.h
URL: http://source.netsurf-browser.org/branches/vince/netsurf-fb/framebuffer/fb_gui.h?rev=5413&r1=5412&r2=5413&view=diff
==============================================================================
--- branches/vince/netsurf-fb/framebuffer/fb_gui.h (original)
+++ branches/vince/netsurf-fb/framebuffer/fb_gui.h Tue Sep 23 04:58:00 2008
@@ -15,6 +15,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
+
+#ifndef NETSURF_FB_GUI_H
+#define NETSURF_FB_GUI_H
 
 typedef struct fb_cursor_s fb_cursor_t;
 
@@ -63,8 +66,12 @@
 /* scroll a window */
 void fb_window_scroll(struct gui_window *g, int x, int y);
 
+#endif /* NETSURF_FB_GUI_H */
+
 /*
  * Local Variables:
  * c-basic-offset:8
  * End:
  */
+
+




More information about the netsurf-commits mailing list