graph.c: Pixel_figure is not a global var anymore

This commit is contained in:
Thomas Bernard
2018-03-03 02:07:08 +01:00
parent be8b05a384
commit ce1b55be03
4 changed files with 11 additions and 5 deletions

View File

@@ -57,7 +57,13 @@
#endif
// Generic pixel-drawing function.
Func_pixel Pixel_figure;
static Func_pixel Pixel_figure;
void Set_Pixel_figure(Func_pixel func)
{
Pixel_figure = func;
}
typedef struct
{