summaryrefslogtreecommitdiffstats
path: root/otherlibs/graph/libgraph.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1998-05-25 09:17:22 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1998-05-25 09:17:22 +0000
commitbefb77e05a4fec2ce3dcc137b6d87f93260625eb (patch)
tree0eada039481789d2740992c6da118db63e9a35f4 /otherlibs/graph/libgraph.h
parent6368084fa2b08b00cc81ccc844d33d3fa922b7f6 (diff)
Declaration extern des variables globales
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/graph/libgraph.h')
-rw-r--r--otherlibs/graph/libgraph.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/otherlibs/graph/libgraph.h b/otherlibs/graph/libgraph.h
index 9c1428f2e..a1dcfac9e 100644
--- a/otherlibs/graph/libgraph.h
+++ b/otherlibs/graph/libgraph.h
@@ -23,13 +23,13 @@ struct canvas {
};
extern Display * grdisplay; /* The display connection */
-int grscreen; /* The screen number */
-Colormap grcolormap; /* The color map */
-struct canvas grwindow; /* The graphics window */
-struct canvas grbstore; /* The pixmap used for backing store */
-int grwhite, grblack; /* Black and white pixels */
-int grx, gry; /* Coordinates of the current point */
-unsigned long grcolor; /* Current drawing color */
+extern int grscreen; /* The screen number */
+extern Colormap grcolormap; /* The color map */
+extern struct canvas grwindow; /* The graphics window */
+extern struct canvas grbstore; /* The pixmap used for backing store */
+extern int grwhite, grblack; /* Black and white pixels */
+extern int grx, gry; /* Coordinates of the current point */
+extern unsigned long grcolor; /* Current drawing color */
extern XFontStruct * grfont; /* Current font */
#define Wcvt(y) (grwindow.h - 1 - (y))