summaryrefslogtreecommitdiff
path: root/beos/font.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-24 20:38:30 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-24 20:38:30 +0100
commit9ce01d2024e12881e29f4efd28845f12e56e7b67 (patch)
tree53a8f0cd1ca8f9537e23791cfedc66f5a90bd288 /beos/font.h
parent5c567d4f2034ac227350b2d72647cd0d37ebee68 (diff)
downloadnetsurf-9ce01d2024e12881e29f4efd28845f12e56e7b67.tar.gz
netsurf-9ce01d2024e12881e29f4efd28845f12e56e7b67.tar.bz2
fixup errors in font layout table conversion
Diffstat (limited to 'beos/font.h')
-rw-r--r--beos/font.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/beos/font.h b/beos/font.h
index ce31929a9..75f0c3ac6 100644
--- a/beos/font.h
+++ b/beos/font.h
@@ -17,9 +17,12 @@
*/
/** \file
- * Font handling (GTK interface).
+ * Beos font layout handling interface.
*/
+#ifndef NS_BEOS_FONT_H
+#define NS_BEOS_FONT_H
+
#include <stdbool.h>
#include "desktop/plotters.h"
@@ -30,4 +33,6 @@ bool nsfont_paint(const plot_font_style_t *fstyle,
void nsbeos_style_to_font(BFont &font, const struct plot_font_style *fstyle);
-struct gui_layout_table *beos_layout_table;
+extern struct gui_layout_table *beos_layout_table;
+
+#endif