Add format attribute to mxs_json_error_append
This commit is contained in:
parent
c554fd3417
commit
9c3dc76fa9
@ -127,6 +127,6 @@ json_t* mxs_json_error(const char* format, ...);
|
||||
*
|
||||
* @return The error added to 'errors' array of the JSON object.
|
||||
*/
|
||||
json_t* mxs_json_error_append(json_t* object, const char* format, ...);
|
||||
json_t* mxs_json_error_append(json_t* object, const char* format, ...) mxb_attribute((format (printf, 2, 3)));
|
||||
|
||||
MXS_END_DECLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user