termux-packages/packages/strace/sigreturn.c.patch
2022-01-17 12:25:36 +02:00

21 lines
674 B
Diff

--- strace-5.11/src/sigreturn.c 2021-02-16 08:00:00.000000000 +0000
+++ strace-5.11.mod/src/sigreturn.c 2021-02-24 13:57:17.100000000 +0000
@@ -14,15 +14,17 @@
# include <asm/sigcontext.h>
#endif
+#if !(defined(__ANDROID__) && (defined(__arm__) || defined(__aarch64__)))
/* The following function might be unused, hence the inline qualifier. */
static inline void
print_sigmask_addr_size(const void *const addr, const unsigned int size)
{
tprint_struct_begin();
tprints_field_name("mask");
tprints(sprintsigmask_n("", addr, size));
tprint_struct_end();
}
+#endif
#define tprintsigmask_addr(mask_) \
print_sigmask_addr_size((mask_), sizeof(mask_))