Skip to content

Commit

Permalink
membuffer: annotate printf style function
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Mar 16, 2024
1 parent 926c6e3 commit ff8597d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util-buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ uint32_t MemBufferWriteRaw(MemBuffer *dst, const uint8_t *raw, const uint32_t ra
* \param format The format string.
* \param ... Variable arguments.
*/
void MemBufferWriteString(MemBuffer *dst, const char *fmt, ...);
void MemBufferWriteString(MemBuffer *dst, const char *fmt, ...) ATTR_FMT_PRINTF(2, 3);

#endif /* SURICATA_UTIL_BUFFER_H */

0 comments on commit ff8597d

Please sign in to comment.