Hide private ust-snprintf.h symbols
[lttng-ust.git] / include / ust-snprintf.h
index 37c2218c432ea0de20d5d80c88eff1d9f52f2b5d..19248f38891d18074ae06daf4ff0be3d59f08eee 100644 (file)
 #include <stdarg.h>
 #include <stddef.h>
 
-extern int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap);
-extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...);
+#include "ust-helper.h"
+
+LTTNG_HIDDEN
+int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap);
+LTTNG_HIDDEN
+int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...)
+       __attribute__ ((format (printf, 3, 4)));
 
 #endif /* UST_SNPRINTF */
This page took 0.022792 seconds and 4 git commands to generate.