The generated declarations in mcrypt_symb.c
do not have return type, and C99 removed implicit ints like these.
The patch is still not quite the right thing because the function signatures do not match the definitions (and building in LTO mode detects this). But at least the compilation errors are gone.
Related to:
Updated patch with another fix for the 3-DES code.
And this one fixes errors in the configure probes that were flagged in our tester.