#include <stdarg.h>
#include <stddef.h>
-#include "ust-helper.h"
+int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap)
+ __attribute__((visibility("hidden")));
-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)));
+ __attribute__((visibility("hidden")))
+ __attribute__((format(printf, 3, 4)));
#endif /* UST_SNPRINTF */