mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
Apply compiler checks for PrintfCallback
This commit is contained in:
parent
01ed730eac
commit
253865bb7c
@ -262,7 +262,7 @@ extern "C" {
|
||||
#define __packed __attribute__((__packed__))
|
||||
#endif
|
||||
|
||||
typedef int (*PrintfCallback)(const char *str, ...);
|
||||
typedef int (*PrintfCallback)(const char *str, ...) R_PRINTF_CHECK(1, 2);
|
||||
|
||||
/* compile-time introspection helpers */
|
||||
#define CTO(y,z) ((size_t) &((y*)0)->z)
|
||||
|
Loading…
Reference in New Issue
Block a user