./ESS_butterfly_test.c:16276:1: error: function definition is not allowed here
{
^
./ESS_butterfly_test.c:16453:3: error: implicit declaration of function 'butterfly_geometry' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
butterfly_geometry(delta_y, jmax, cx, cz,
^
47 warnings and 2 errors generated.
From clang on macOS