The issue was pointed out also in https://github.com/espressif/esp-idf/issues/4092
Enable strict prototypes checks Closes IDFGH-757 See merge request espressif/esp-idf!4546