From: Francis Deslauriers Date: Tue, 3 Dec 2019 21:53:47 +0000 (-0500) Subject: Cleanup: remove unused `__check_ust_safe_fmt()` function X-Git-Tag: v2.13.0-rc1~544 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=92d1a5ef7c9dc422d9ad89cf42e60e99e06e5796;p=lttng-ust.git Cleanup: remove unused `__check_ust_safe_fmt()` function Usages of this function were removed by this commit: commit 5e96a46756a5dcd6e348afd84078b9e26438245d Author: Mathieu Desnoyers Date: Tue Aug 9 09:46:51 2011 -0400 Add UST_DEBUG env. var. support Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I535028fc9338c0c2cef51a993bcab8f0e6c062c6 --- 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...) \