diff options
author | Khem Raj <kraj@mvista.com> | 2008-12-23 10:16:51 +0000 |
---|---|---|
committer | Khem Raj <kraj@mvista.com> | 2008-12-23 10:16:51 +0000 |
commit | f6fc6973e34a3c250457aed1710ee0872800acdd (patch) | |
tree | 6c7a5a33037fecf05340829155d636a5994ba7a2 /libc/misc/internals/__uClibc_main.c | |
parent | 6374ca896086574af61eb37ef371e3371b10bb5c (diff) | |
download | uClibc-alpine-f6fc6973e34a3c250457aed1710ee0872800acdd.tar.bz2 uClibc-alpine-f6fc6973e34a3c250457aed1710ee0872800acdd.tar.xz |
Get non nptl threads compiled on x86.
Diffstat (limited to 'libc/misc/internals/__uClibc_main.c')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index a1e02c4e4..ab6adb130 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -51,10 +51,6 @@ libc_hidden_proto(geteuid) libc_hidden_proto(fstat) /* libc_hidden_proto(abort) */ -extern __typeof(open) __libc_open; -libc_hidden_proto(__libc_open) -extern __typeof(fcntl) __libc_fcntl; -libc_hidden_proto(__libc_fcntl) #endif #ifndef SHARED @@ -150,10 +146,10 @@ size_t __pagesize = 0; static void __check_one_fd(int fd, int mode) { /* Check if the specified fd is already open */ - if (__libc_fcntl(fd, F_GETFD) == -1) + if (fcntl(fd, F_GETFD) == -1) { /* The descriptor is probably not open, so try to use /dev/null */ - int nullfd = __libc_open(_PATH_DEVNULL, mode); + int nullfd = open(_PATH_DEVNULL, mode); /* /dev/null is major=1 minor=3. Make absolutely certain * that is in fact the device that we have opened and not * some other wierd file... */ |