summaryrefslogtreecommitdiff
path: root/bsp/libwrap/sys/fstat.c
diff options
context:
space:
mode:
authorDrew Barbier <dbarbi1@gmail.com>2018-01-02 22:00:59 -0600
committerDrew Barbier <dbarbi1@gmail.com>2018-01-02 22:00:59 -0600
commitd81708080c6fedaa44f734d6d160711b545347ec (patch)
tree0eb749aa6b6535d470de85e09e1a9c44d846fc5b /bsp/libwrap/sys/fstat.c
parentdceeead112238a6f3e8475160155cc7b9d2a9265 (diff)
parent86b06dccf1f09d5e7ac88acfb4d261062fc4a0aa (diff)
Merge commit '86b06dccf1f09d5e7ac88acfb4d261062fc4a0aa' into fs3
Diffstat (limited to 'bsp/libwrap/sys/fstat.c')
-rw-r--r--bsp/libwrap/sys/fstat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/fstat.c b/bsp/libwrap/sys/fstat.c
index 6ea3e6a..ff82bf9 100644
--- a/bsp/libwrap/sys/fstat.c
+++ b/bsp/libwrap/sys/fstat.c
@@ -4,6 +4,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include "stub.h"
+#include "weak_under_alias.h"
int __wrap_fstat(int fd, struct stat* st)
{
@@ -14,3 +15,4 @@ int __wrap_fstat(int fd, struct stat* st)
return _stub(EBADF);
}
+weak_under_alias(fstat);