From 67a97f2bc0cf13239815d9aeb43472b9e2de311f Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Sat, 24 Nov 2018 11:39:48 +0200 Subject: [PATCH] shared: remove fallback definition of backtrace() The user of backtrace() was removed in bb707dc0fe331c9af112a0552b7aa6fde755dd83 and has been unused since. Signed-off-by: Pekka Paalanen --- configure.ac | 1 - shared/os-compatibility.h | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/configure.ac b/configure.ac index 4bd1c331..132a3e93 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,6 @@ AC_CHECK_DECL(TFD_CLOEXEC,[], AC_CHECK_DECL(CLOCK_MONOTONIC,[], [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile weston")], [[#include ]]) -AC_CHECK_HEADERS([execinfo.h]) AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) diff --git a/shared/os-compatibility.h b/shared/os-compatibility.h index 06d25748..35e3a78d 100644 --- a/shared/os-compatibility.h +++ b/shared/os-compatibility.h @@ -30,16 +30,6 @@ #include -#ifdef HAVE_EXECINFO_H -#include -#else -static inline int -backtrace(void **buffer, int size) -{ - return 0; -} -#endif - int os_fd_set_cloexec(int fd);