fix -Wstrict-prototypes issues

This commit is contained in:
Ivan Grokhotkov
2019-03-19 15:06:20 +08:00
committed by David Cermak
parent b263e44777
commit 2ef78857e9
4 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ typedef struct outbox_item {
STAILQ_HEAD(outbox_list_t, outbox_item);
outbox_handle_t outbox_init()
outbox_handle_t outbox_init(void)
{
outbox_handle_t outbox = calloc(1, sizeof(struct outbox_list_t));
ESP_MEM_CHECK(TAG, outbox, return NULL);