You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

Index: src/color.c
--- src/color.c.orig 2011-10-28 23:01:16.000000000 +0200
+++ src/color.c 2012-03-12 20:30:40.000000000 +0100
@@ -68,7 +68,7 @@
void
-init_color()
+gnuplot_init_color()
{
/* initialize global palette */
sm_palette.colorFormulae = 37; /* const */
Index: src/color.h
--- src/color.h.orig 2011-10-08 02:07:41.000000000 +0200
+++ src/color.h 2012-03-12 20:30:40.000000000 +0100
@@ -214,7 +214,7 @@
/* ROUTINES */
-void init_color __PROTO((void)); /* call once to initialize variables */
+void gnuplot_init_color __PROTO((void)); /* call once to initialize variables */
/*
Index: src/plot.c
--- src/plot.c.orig 2012-03-02 21:00:04.000000000 +0100
+++ src/plot.c 2012-03-12 20:31:54.000000000 +0100
@@ -532,7 +532,7 @@
* would set them to. Since the axis variables aren't in
* initialized arrays any more, this is now necessary... */
reset_command();
- init_color(); /* Initialization of color */
+ gnuplot_init_color(); /* Initialization of color */
load_rcfile(0); /* System-wide gnuplotrc if configured */
load_rcfile(1); /* ./.gnuplot if configured */
init_fit(); /* Initialization of fitting module */