configure: enable -Wsuggest-attribute=format
[babeltrace.git] / src / common / common.h
index b5990a885395036a853288d3b7fe330f203e94bb..1abe37ec11b094bf80713ad212a462f6e6f32f93 100644 (file)
@@ -823,7 +823,7 @@ end:
  * bt_g_string_append_printf cannot be inlined because it expects a
  * variadic argument list.
  */
-BT_HIDDEN
+BT_HIDDEN __BT_ATTR_FORMAT_PRINTF(2, 3)
 int bt_common_g_string_append_printf(GString *str, const char *fmt, ...);
 
 static inline
This page took 0.022379 seconds and 4 git commands to generate.