shared: remove fallback definition of backtrace()

The user of backtrace() was removed in
bb707dc0fe and has been unused since.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
dev
Pekka Paalanen 6 years ago
parent 9d771fc506
commit 67a97f2bc0
  1. 1
      configure.ac
  2. 10
      shared/os-compatibility.h

@ -110,7 +110,6 @@ AC_CHECK_DECL(TFD_CLOEXEC,[],
AC_CHECK_DECL(CLOCK_MONOTONIC,[], AC_CHECK_DECL(CLOCK_MONOTONIC,[],
[AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile weston")], [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile weston")],
[[#include <time.h>]]) [[#include <time.h>]])
AC_CHECK_HEADERS([execinfo.h])
AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])

@ -30,16 +30,6 @@
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#else
static inline int
backtrace(void **buffer, int size)
{
return 0;
}
#endif
int int
os_fd_set_cloexec(int fd); os_fd_set_cloexec(int fd);

Loading…
Cancel
Save