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
968 B

Index: src/color.c
--- src/color.c.orig 2015-04-16 07:11:21.000000000 +0200
+++ src/color.c 2016-01-08 20:02:57.435582211 +0100
@@ -62,7 +62,7 @@
void
-init_color()
+gnuplot_init_color()
{
/* initialize global palette */
sm_palette.colorFormulae = 37; /* const */
Index: src/color.h
--- src/color.h.orig 2013-10-22 00:31:59.000000000 +0200
+++ src/color.h 2016-01-08 20:02:57.435582211 +0100
@@ -217,7 +217,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/set.c
--- src/set.c.orig 2016-01-01 05:13:24.000000000 +0100
+++ src/set.c 2016-01-08 20:02:57.445605622 +0100
@@ -3149,7 +3149,7 @@
free_at(sm_palette.Afunc.at);
free_at(sm_palette.Bfunc.at);
free_at(sm_palette.Cfunc.at);
- init_color();
+ gnuplot_init_color();
pm3d_last_set_palette_mode = SMPAL_COLOR_MODE_NONE;
}