diff options
author | George Matsumura <gm960420@ohio.edu> | 2021-06-29 18:12:49 -0600 |
---|---|---|
committer | George Matsumura <gm960420@ohio.edu> | 2021-06-29 18:12:49 -0600 |
commit | 64612761500fc41af3a94a2a27aaed9faf424d51 (patch) | |
tree | 702824ffdc934ee819e0b16bcf15da40b2619c91 | |
parent | af5a49e489fdc04b9cf02547650d7aeaccd43793 (diff) | |
download | gcompat-64612761500fc41af3a94a2a27aaed9faf424d51.tar.gz gcompat-64612761500fc41af3a94a2a27aaed9faf424d51.tar.bz2 gcompat-64612761500fc41af3a94a2a27aaed9faf424d51.tar.xz gcompat-64612761500fc41af3a94a2a27aaed9faf424d51.zip |
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 <gm960420@ohio.edu>
-rw-r--r-- | libgcompat/gnulib.c | 2 |
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); |