El error es de compilación :S
Código Error:
Ver originalmain.c:33: error: conflicting types for 'max'
main.c:4: error: previous declaration of 'max' was here
main.c:33: error: conflicting types for 'max'
main.c:4: error: previous declaration of 'max' was here
main.c:46: error: conflicting types for 'min'
main.c:5: error: previous declaration of 'min' was here
main.c:46: error: conflicting types for 'min'
main.c:5: error: previous declaration of 'min' was here
main.c:59: error: conflicting types for 'med'
main.c:6: error: previous declaration of 'med' was here
main.c:59: error: conflicting types for 'med'
main.c:6: error: previous declaration of 'med' was here
make[2]: *** [build/Debug/Cygwin-Windows/main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 453ms)