diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-01-02 19:57:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 19:57:55 -0800 |
commit | 86b06dccf1f09d5e7ac88acfb4d261062fc4a0aa (patch) | |
tree | b12ce8a5baa230f03e776d2b599343aee7a6150c /bsp/libwrap/sys/isatty.c | |
parent | cee980238e2dbd7c9af0eb79bd5621a4dc73c234 (diff) | |
parent | 1d1fcd04ebac848accf27941e78e7eb6e3e315d6 (diff) |
Merge pull request #84 from sifive/weak_under_alias
Add _FUNC aliases for newlib-2.5.0
Diffstat (limited to 'bsp/libwrap/sys/isatty.c')
-rw-r--r-- | bsp/libwrap/sys/isatty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/isatty.c b/bsp/libwrap/sys/isatty.c index 55eab0a..7bb82ab 100644 --- a/bsp/libwrap/sys/isatty.c +++ b/bsp/libwrap/sys/isatty.c @@ -1,6 +1,7 @@ /* See LICENSE of license details. */ #include <unistd.h> +#include "weak_under_alias.h" int __wrap_isatty(int fd) { @@ -9,3 +10,4 @@ int __wrap_isatty(int fd) return 0; } +weak_under_alias(isatty); |