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>
This commit is contained in:
Pekka Paalanen 2018-11-24 11:39:48 +02:00
parent 9d771fc506
commit 67a97f2bc0
2 changed files with 0 additions and 11 deletions

View file

@ -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 <time.h>]])
AC_CHECK_HEADERS([execinfo.h])
AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])

View file

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