aboutsummaryrefslogtreecommitdiff
path: root/bin/synthpod_bin.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-02-18 22:36:52 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-02-18 22:36:52 +0100
commit656aeddec6f90d965e2c1d91eb5a9abc8e4723c1 (patch)
treeca63cfbac7037c939f3a4f5cef6211459605f347 /bin/synthpod_bin.h
parent57d7a4588f4031c08cf3d4318a61e9c677a19915 (diff)
downloadsynthpod-656aeddec6f90d965e2c1d91eb5a9abc8e4723c1.tar.xz
Add format attribute for compiler checks.
Diffstat (limited to 'bin/synthpod_bin.h')
-rw-r--r--bin/synthpod_bin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/synthpod_bin.h b/bin/synthpod_bin.h
index 7bc7a369..b5e1babf 100644
--- a/bin/synthpod_bin.h
+++ b/bin/synthpod_bin.h
@@ -152,16 +152,16 @@ bin_bundle_save(bin_t *bin, const char *bundle_path);
void
bin_quit(bin_t *bin);
-int
+int __attribute__((format(printf, 2, 3)))
bin_log_error(bin_t *bin, const char *fmt, ...);
-int
+int __attribute__((format(printf, 2, 3)))
bin_log_note(bin_t *bin, const char *fmt, ...);
-int
+int __attribute__((format(printf, 2, 3)))
bin_log_warning(bin_t *bin, const char *fmt, ...);
-int
+int __attribute__((format(printf, 2, 3)))
bin_log_trace(bin_t *bin, const char *fmt, ...);
int