Skip to content

Commit 0a9f03e

Browse files
committed
Annotate mbp_log as having printf parameters
1 parent b21aaa8 commit 0a9f03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#ifndef _UTIL_H_
22
#define _UTIL_H_
33

4-
void mbp_log(int level, const char *fmt, ...);
4+
void mbp_log(int level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
55

66
#endif

0 commit comments

Comments
 (0)