make code conform to Wstrict-prototypes

Merges https://github.com/espressif/esp-idf/pull/2937
This commit is contained in:
Michael Zimmermann
2019-01-11 09:43:11 +01:00
committed by Anton Maklakov
parent afbaf74007
commit 74a459dd3d
4 changed files with 6 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ extern "C"
/*
Definitions for the tickhook and idlehook callbacks
*/
typedef bool (*esp_freertos_idle_cb_t)();
typedef void (*esp_freertos_tick_cb_t)();
typedef bool (*esp_freertos_idle_cb_t)(void);
typedef void (*esp_freertos_tick_cb_t)(void);
/**
* @brief Register a callback to be called from the specified core's idle hook.