mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 16:22:40 +00:00
common: mark printf-style formatting for giterr_set
This commit is contained in:
parent
19981467ea
commit
8effd26f59
@ -103,7 +103,8 @@
|
||||
/**
|
||||
* Set the error message for this thread, formatting as needed.
|
||||
*/
|
||||
void giterr_set(int error_class, const char *string, ...);
|
||||
|
||||
void giterr_set(int error_class, const char *string, ...) GIT_FORMAT_PRINTF(2, 3);
|
||||
|
||||
/**
|
||||
* Set the error message for a regex failure, using the internal regex
|
||||
|
Loading…
Reference in New Issue
Block a user