Cleanup: remove unused `__check_ust_safe_fmt()` function
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 3 Dec 2019 21:53:47 +0000 (16:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Feb 2020 17:11:52 +0000 (12:11 -0500)
Usages of this function were removed by this commit:
  commit 5e96a46756a5dcd6e348afd84078b9e26438245d
  Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  Date:   Tue Aug 9 09:46:51 2011 -0400

      Add UST_DEBUG env. var. support

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I535028fc9338c0c2cef51a993bcab8f0e6c062c6

include/usterr-signal-safe.h

index d987c1f0a11009788eaf0672450afb0736f61014..c75516be4351a536dda0a09fe7ca894cf6166154 100644 (file)
@@ -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...)                                        \
This page took 0.025426 seconds and 4 git commands to generate.