X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fusterr-signal-safe.h;h=c75516be4351a536dda0a09fe7ca894cf6166154;hb=a211b293bc6a610bed73a60006967663a30e4931;hp=d987c1f0a11009788eaf0672450afb0736f61014;hpb=0f029713c868ef3e868d0dc7297455cb737e606f;p=lttng-ust.git diff --git a/include/usterr-signal-safe.h b/include/usterr-signal-safe.h index d987c1f0..c75516be 100644 --- a/include/usterr-signal-safe.h +++ b/include/usterr-signal-safe.h @@ -67,11 +67,6 @@ static inline int ust_debug(void) extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...) __attribute__ ((format (printf, 3, 4))); -static inline void __attribute__ ((format (printf, 1, 2))) - __check_ust_safe_fmt(const char *fmt, ...) -{ -} - /* Can't use dynamic allocation. Limit ourselves to USTERR_MAX_LEN chars. */ /* Add end of string in case of buffer overflow. */ #define sigsafe_print_err(fmt, args...) \