From 64612761500fc41af3a94a2a27aaed9faf424d51 Mon Sep 17 00:00:00 2001 From: George Matsumura Date: Tue, 29 Jun 2021 18:12:49 -0600 Subject: gnulib: Add __fdelt_warn alias Add __fdelt_warn as a strong alias of __fdelt_chk, similar to how it is implemented in glibc. Signed-off-by: George Matsumura --- libgcompat/gnulib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libgcompat') diff --git a/libgcompat/gnulib.c b/libgcompat/gnulib.c index 3f66963..efe1c31 100644 --- a/libgcompat/gnulib.c +++ b/libgcompat/gnulib.c @@ -1,5 +1,6 @@ #include #include "internal.h" +#include "alias.h" /* alias */ #define REASON_FD_SET_OVERFLOW \ "Fault: Overflow in fd_set detected.\n" \ @@ -16,3 +17,4 @@ unsigned long __fdelt_chk(unsigned long size) FD_SETSIZE); return size / (sizeof(unsigned long) << 3); } +alias(__fdelt_chk, __fdelt_warn); -- cgit v1.2.3-60-g2f50