@ 201216.1

200620.1.1 · 21eaa1c4160b868b0c5bbf59da17974429f30055

Fix multiple global symbols definitions.

See the use of extern here:

* https://www.geeksforgeeks.org/understanding-extern-keyword-in-c/

* https://en.wikipedia.org/wiki/External_variable

* https://stackoverflow.com/questions/496448/how-to-correctly-use-the-extern-keyword-in-c

reading declarations

Changes to src/log.h. All files

src/log.h

@@ -9,7 +9,7 @@ #include <pthread.h> #endif -pthread_mutex_t print_mtx;+extern pthread_mutex_t print_mtx;  enum log_level {     LOG_LEVEL_DEBUG = 10,