summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-07-14 16:42:36 +0000
committerZach van Rijn <me@zv.io>2021-07-14 16:42:36 +0000
commite9a1c247462a3c1d4b346276f16f6c1ed8117996 (patch)
tree702824ffdc934ee819e0b16bcf15da40b2619c91 /libgcompat
parentaf5a49e489fdc04b9cf02547650d7aeaccd43793 (diff)
parent64612761500fc41af3a94a2a27aaed9faf424d51 (diff)
downloadgcompat-e9a1c247462a3c1d4b346276f16f6c1ed8117996.tar.gz
gcompat-e9a1c247462a3c1d4b346276f16f6c1ed8117996.tar.bz2
gcompat-e9a1c247462a3c1d4b346276f16f6c1ed8117996.tar.xz
gcompat-e9a1c247462a3c1d4b346276f16f6c1ed8117996.zip
Merge branch 'fdelt_warn' into 'current'
Add __fdelt_warn alias See merge request adelie/gcompat!12
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/gnulib.c2
1 files changed, 2 insertions, 0 deletions
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 <sys/select.h>
#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);