compiler.h: rename printflike to printf_like

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2022-12-21 02:50:04 +02:00 committed by Xiang Xiao
parent 7f564e0d86
commit 3e36f40130
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ extern uint8_t _image_drom_size[];
****************************************************************************/
#ifdef CONFIG_ESP32S3_APP_FORMAT_MCUBOOT
extern int ets_printf(const char *fmt, ...) printflike(1, 2);
extern int ets_printf(const char *fmt, ...) printf_like(1, 2);
extern int cache_dbus_mmu_set(uint32_t ext_ram, uint32_t vaddr,
uint32_t paddr, uint32_t psize, uint32_t num,
uint32_t fixed);

View File

@ -91,10 +91,10 @@ struct note_driver_ops_s
CODE void (*dump)(FAR struct note_driver_s *drv, uintptr_t ip,
uint8_t event, FAR const void *buf, size_t len);
CODE void (*vprintf)(FAR struct note_driver_s *drv, uintptr_t ip,
FAR const char *fmt, va_list va) printflike(3, 0);
FAR const char *fmt, va_list va) printf_like(3, 0);
CODE void (*vbprintf)(FAR struct note_driver_s *drv, uintptr_t ip,
uint8_t event, FAR const char *fmt,
va_list va) printflike(4, 0);
va_list va) printf_like(4, 0);
#endif
};