mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
This commit is contained in:
@@ -199,7 +199,7 @@ static int fd_is_valid(int fd)
|
||||
return fcntl(fd, F_GETFD) != -1 || errno != EBADF;
|
||||
}
|
||||
|
||||
static inline uint64_t httpd_sess_get_lru_counter()
|
||||
static inline uint64_t httpd_sess_get_lru_counter(void)
|
||||
{
|
||||
static uint64_t lru_counter = 0;
|
||||
return lru_counter++;
|
||||
|
||||
@@ -43,7 +43,7 @@ static inline int httpd_os_thread_create(othread_t *thread,
|
||||
}
|
||||
|
||||
/* Only self delete is supported */
|
||||
static inline void httpd_os_thread_delete()
|
||||
static inline void httpd_os_thread_delete(void)
|
||||
{
|
||||
vTaskDelete(xTaskGetCurrentTaskHandle());
|
||||
}
|
||||
@@ -53,7 +53,7 @@ static inline void httpd_os_thread_sleep(int msecs)
|
||||
vTaskDelay(msecs / portTICK_RATE_MS);
|
||||
}
|
||||
|
||||
static inline othread_t httpd_os_thread_handle()
|
||||
static inline othread_t httpd_os_thread_handle(void)
|
||||
{
|
||||
return xTaskGetCurrentTaskHandle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user