diff options
| author | Jason Evans <jasone@FreeBSD.org> | 2000-01-12 09:28:58 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 2000-01-12 09:28:58 +0000 |
| commit | f560c4e709d6f3b1edb5349d928670577918afb8 (patch) | |
| tree | d979bd2ea9814f01e82a7f04298d08346e265a2d /lib/libpthread/thread/thr_open.c | |
| parent | 929273386f6e688c008b15fd24932df2ed7e7172 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_open.c')
| -rw-r--r-- | lib/libpthread/thread/thr_open.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_open.c b/lib/libpthread/thread/thr_open.c index 4e9993eb6585..4bc2f1a513e3 100644 --- a/lib/libpthread/thread/thr_open.c +++ b/lib/libpthread/thread/thr_open.c @@ -42,7 +42,7 @@ #include "pthread_private.h" int -open(const char *path, int flags,...) +_libc_open(const char *path, int flags,...) { int fd; int mode = 0; @@ -74,4 +74,6 @@ open(const char *path, int flags,...) /* Return the file descriptor or -1 on error: */ return (fd); } + +__weak_reference(_libc_open, open); #endif |
