Removing them gives compilation errors for me. E.g.

src/dvr/dvr_cutpoints.c:28:5: error: no previous prototype for ‘dvr_switch_file_extension’ [-Werror=missing-prototypes]
cc1: all warnings being treated as errors

The warning can of course be disabled, but without any manual setting of compiler flags, you will get an error.