Require C++11 for building probe providers with C++ compiler
[lttng-ust.git] / include / usterr-signal-safe.h
index 1df5ada0ff2ec290d4eb5f53a15836a5bb7cb454..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...)                                        \
@@ -95,7 +90,7 @@ do {                                                                  \
        do {                                    \
                sigsafe_print_err(UST_STR_COMPONENT "[%ld/%ld]: " fmt " (in %s() at " __FILE__ ":" UST_XSTR(__LINE__) ")\n", \
                (long) getpid(),                \
-               (long) gettid(),                \
+               (long) lttng_gettid(),          \
                ## args, __func__);             \
        } while(0)
 
This page took 0.022589 seconds and 4 git commands to generate.