mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-11 09:16:48 +08:00
Older compilers don't like variables with the same name as global functions. md5.h contains a function md5(), rename md5 variable in magic.c to md5_ctx. lwip/src/netif/ppp/magic.c: In function `magic_churnrand': lwip/src/netif/ppp/magic.c:105:15: error: declaration of `md5' shadows a global declaration [-Werror=shadow] lwip/src/include/netif/ppp/polarssl/md5.h:88:6: error: shadowed declaration is here [-Werror=shadow] lwip/src/netif/ppp/magic.c: In function `magic_random_bytes': lwip/src/netif/ppp/magic.c:165:15: error: declaration of `md5' shadows a global declaration [-Werror=shadow] lwip/src/include/netif/ppp/polarssl/md5.h:88:6: error: shadowed declaration is here [-Werror=shadow]