lvgl / lv_lib_png

PNG decoder for LVGL
MIT License
67 stars 26 forks source link

lodepng.c: make mem. mgmt. syms externally visible #31

Closed leiflm closed 2 years ago

leiflm commented 2 years ago

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.

kisvegabor commented 2 years ago

Thank you!