0aa7eeb
diff -up bogl-0.1.18/bogl.c.orig bogl-0.1.18/bogl.c
0aa7eeb
--- bogl-0.1.18/bogl.c.orig	2020-02-17 13:01:42.862405559 +0100
0aa7eeb
+++ bogl-0.1.18/bogl.c	2020-02-17 13:04:37.126782135 +0100
0aa7eeb
@@ -107,6 +107,24 @@ static void kbd_done (void);
0aa7eeb
 static void vt_switch (int);
0aa7eeb
 
0aa7eeb
 static struct fb_fix_screeninfo fb_fix;
0aa7eeb
+
0aa7eeb
+/* Device-specific routines. */
0aa7eeb
+
0aa7eeb
+void (*bogl_pixel) (int x, int y, int c);
0aa7eeb
+void (*bogl_hline) (int x1, int x2, int y, int c);
0aa7eeb
+void (*bogl_vline) (int x, int y1, int y2, int c);
0aa7eeb
+void (*bogl_text) (int x, int y, const char *s, int n, int fg, int bg, int ul,
0aa7eeb
+                   const struct bogl_font *font);
0aa7eeb
+void (*bogl_clear) (int x1, int y1, int x2, int y2, int c);
0aa7eeb
+void (*bogl_move) (int sx, int sy, int dx, int dy, int w, int h);
0aa7eeb
+void (*bogl_put) (int x, int y, const struct bogl_pixmap *pixmap,
0aa7eeb
+                  const int color_map[16]);
0aa7eeb
+void (*bogl_pointer) (int visible, int x, int y,
0aa7eeb
+                      const struct bogl_pointer *,
0aa7eeb
+                      int colors[2]);
0aa7eeb
+void (*bogl_set_palette) (int c, int nc, const unsigned char palette[][3]);
0aa7eeb
+void (*bogl_reinit) (void);
0aa7eeb
+
0aa7eeb
 /* Initialize BOGL. */
0aa7eeb
 int
0aa7eeb
 bogl_init (void)
0aa7eeb
diff -up bogl-0.1.18/bogl.h.orig bogl-0.1.18/bogl.h
0aa7eeb
--- bogl-0.1.18/bogl.h.orig	2004-05-06 04:57:06.000000000 +0200
0aa7eeb
+++ bogl-0.1.18/bogl.h	2020-02-17 13:01:42.867405570 +0100
0aa7eeb
@@ -86,19 +86,19 @@ int bogl_font_glyph (const struct bogl_f
0aa7eeb
 int bogl_in_font (const struct bogl_font *font, wchar_t wc);
0aa7eeb
 
0aa7eeb
 /* Device-specific routines. */
0aa7eeb
-void (*bogl_pixel) (int x, int y, int c);
0aa7eeb
-void (*bogl_hline) (int x1, int x2, int y, int c);
0aa7eeb
-void (*bogl_vline) (int x, int y1, int y2, int c);
0aa7eeb
-void (*bogl_text) (int x, int y, const char *s, int n, int fg, int bg, int ul,
0aa7eeb
+extern void (*bogl_pixel) (int x, int y, int c);
0aa7eeb
+extern void (*bogl_hline) (int x1, int x2, int y, int c);
0aa7eeb
+extern void (*bogl_vline) (int x, int y1, int y2, int c);
0aa7eeb
+extern void (*bogl_text) (int x, int y, const char *s, int n, int fg, int bg, int ul,
0aa7eeb
 		   const struct bogl_font *font);
0aa7eeb
-void (*bogl_clear) (int x1, int y1, int x2, int y2, int c);
0aa7eeb
-void (*bogl_move) (int sx, int sy, int dx, int dy, int w, int h);
0aa7eeb
-void (*bogl_put) (int x, int y, const struct bogl_pixmap *pixmap,
0aa7eeb
+extern void (*bogl_clear) (int x1, int y1, int x2, int y2, int c);
0aa7eeb
+extern void (*bogl_move) (int sx, int sy, int dx, int dy, int w, int h);
0aa7eeb
+extern void (*bogl_put) (int x, int y, const struct bogl_pixmap *pixmap,
0aa7eeb
 		  const int color_map[16]);
0aa7eeb
-void (*bogl_pointer) (int visible, int x, int y,
0aa7eeb
+extern void (*bogl_pointer) (int visible, int x, int y,
0aa7eeb
 		      const struct bogl_pointer *,
0aa7eeb
 		      int colors[2]);
0aa7eeb
-void (*bogl_set_palette) (int c, int nc, const unsigned char palette[][3]);
0aa7eeb
-void (*bogl_reinit) (void);
0aa7eeb
+extern void (*bogl_set_palette) (int c, int nc, const unsigned char palette[][3]);
0aa7eeb
+extern void (*bogl_reinit) (void);
0aa7eeb
 
0aa7eeb
 #endif /* bogl_h */