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:
parent
9d771fc506
commit
67a97f2bc0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue