Commit 67a97f2b authored by Pekka Paalanen's avatar Pekka Paalanen

shared: remove fallback definition of backtrace()

The user of backtrace() was removed in
bb707dc0 and has been unused since.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
parent 9d771fc5
......@@ -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])
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment