$OpenBSD: patch-src_lib_fte_grid_c,v 1.1 2010/05/09 17:50:26 espie Exp $
--- src/lib/fte/grid.c.orig	Sun May  9 19:22:42 2010
+++ src/lib/fte/grid.c	Sun May  9 19:25:36 2010
@@ -32,6 +32,9 @@ typedef enum { x_axis, y_axis } Axis;
 /* note: scaleunits is static and never changed in this file
     ie, can get rid of it */
 static bool scaleunits = true;
+static void drawlingrid(GRAPH *, char [16], int , int, double, double, 
+    double, bool, int, double, int, Axis);
+static void drawloggrid(GRAPH *, char *, int, int, int, int, int, Axis);
 
 void
 gr_fixgrid(graph, xdelta, ydelta, xtype, ytype)
@@ -473,7 +476,7 @@ lingrid(graph, lo, hi, delta, type, axis)
     return (dd);
 }
 
-static
+static void
 drawlingrid(graph, units, spacing, nsp, dst, lmt, hmt, onedec, mult, mag,
     digits, axis)
     GRAPH *graph;
@@ -661,7 +664,7 @@ loggrid(graph, lo, hi, type, axis)
 
 }
 
-static
+static void
 drawloggrid(graph, units, hmt, lmt, decsp, subs, pp, axis)
     GRAPH *graph;
     char *units;
