summaryrefslogtreecommitdiffstats
path: root/otherlibs/graph/libgraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/graph/libgraph.h')
-rw-r--r--otherlibs/graph/libgraph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/otherlibs/graph/libgraph.h b/otherlibs/graph/libgraph.h
index 6ec1e6720..fb3584f5e 100644
--- a/otherlibs/graph/libgraph.h
+++ b/otherlibs/graph/libgraph.h
@@ -22,7 +22,7 @@ struct canvas {
GC gc; /* The associated graphics context */
};
-Display * grdisplay; /* The display connection */
+extern Display * grdisplay; /* The display connection */
int grscreen; /* The screen number */
Colormap grcolormap; /* The color map */
struct canvas grwindow; /* The graphics window */
@@ -68,3 +68,4 @@ unsigned long gr_pixel_rgb();
int gr_rgb_pixel();
void gr_handle_simple_event();
void gr_enqueue_char();
+void gr_init_color_cache();