Apply printf decor to pj_perror()

This commit is contained in:
sauwming 2023-03-21 11:48:47 +08:00
parent 29d872af40
commit 51072289a3
1 changed files with 2 additions and 1 deletions

View File

@ -199,7 +199,8 @@ PJ_DECL(pj_str_t) pj_strerror( pj_status_t statcode,
* @see PJ_PERROR()
*/
PJ_DECL(void) pj_perror(int log_level, const char *sender, pj_status_t status,
const char *title_fmt, ...);
const char *title_fmt, ...)
PJ_PRINT_FUNC_DECOR(4);
/**