openbsd-ports/cad/spice/patches/patch-src_lib_fte_x11_c

41 lines
855 B
Plaintext

$OpenBSD: patch-src_lib_fte_x11_c,v 1.1 2010/05/09 17:50:26 espie Exp $
--- src/lib/fte/x11.c.orig Wed Apr 14 21:44:56 1993
+++ src/lib/fte/x11.c Sun May 9 19:39:08 2010
@@ -79,6 +79,9 @@ static Bool noclear = False;
static GRAPH *lasthardcopy; /* graph user selected */
static int X11_Open = 0;
static int numdispplanes;
+static void initlinestyles();
+static void initcolors(GRAPH *);
+static void X_ScreentoData(GRAPH *, int, int, double *, double *);
X11_Init()
{
@@ -302,7 +305,7 @@ GRAPH *graph;
return (0);
}
-static
+static void
initlinestyles()
{
@@ -318,7 +321,7 @@ initlinestyles()
return;
}
-static
+static void
initcolors(graph)
GRAPH *graph;
{
@@ -995,7 +998,7 @@ out:
}
-static X_ScreentoData(graph, x, y, fx, fy)
+static void X_ScreentoData(graph, x, y, fx, fy)
GRAPH *graph;
int x,y;
double *fx, *fy;