Another compilation unit (lv_png.c) tries to be consistent and references
the memory management function lodepng_free. As this method is declared private (i.e. static)
to the defining unit (i.e. lodepng.c), the symbol is not linkable with other compilation units.
By making the symbols externally visible (i.e. non-static), they can be linked.
Another compilation unit (
lv_png.c
) tries to be consistent and references the memory management functionlodepng_free
. As this method is declared private (i.e.static
) to the defining unit (i.e.lodepng.c
), the symbol is not linkable with other compilation units.By making the symbols externally visible (i.e. non-
static
), they can be linked.