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/open.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/open.c')
-rw-r--r-- | bsp/libwrap/sys/open.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/open.c b/bsp/libwrap/sys/open.c index d1871f9..c61415a 100644 --- a/bsp/libwrap/sys/open.c +++ b/bsp/libwrap/sys/open.c @@ -2,8 +2,10 @@ #include <errno.h> #include "stub.h" +#include "weak_under_alias.h" int __wrap_open(const char* name, int flags, int mode) { return _stub(ENOENT); } +weak_under_alias(open); |