termux-packages/packages/libelf/src-elflint.patch

12 lines
382 B
Diff

--- elfutils-0.185/src/elflint.c 2021-05-22 23:55:24.000000000 +0530
+++ elfutils-0.185-patch/src/elflint.c 2021-08-29 21:49:43.425999943 +0530
@@ -3434,7 +3434,7 @@
return p - (const unsigned char *) data->d_buf;
}
-inline size_t
+static inline size_t
buffer_left (Elf_Data *data, const unsigned char *p)
{
return (const unsigned char *) data->d_buf + data->d_size - p;