diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/Makefile | 3 | ||||
-rw-r--r-- | nptl/Versions | 2 | ||||
-rw-r--r-- | nptl/version.c | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index b51deff6a3..d692190611 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -81,7 +81,7 @@ static-only-routines = pthread_atfork # We need to provide certain routines for compatibility with existing # binaries. pthread-compat-wrappers = \ - write read close accept \ + read close accept \ connect recv recvfrom send \ sendto fsync lseek lseek64 \ msync open open64 pause \ @@ -309,7 +309,6 @@ CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-read.c += -fexceptions -fasynchronous-unwind-tables -CFLAGS-write.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-msync.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables diff --git a/nptl/Versions b/nptl/Versions index 039cff38aa..3e61d06908 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -126,7 +126,6 @@ libpthread { __read; __send; __sigaction; - __write; _exit; _pthread_cleanup_pop; _pthread_cleanup_pop_restore; @@ -194,7 +193,6 @@ libpthread { sigwait; system; tcdrain; - write; } GLIBC_2.1 { diff --git a/nptl/version.c b/nptl/version.c index 2d37d76d6a..25e3a0c872 100644 --- a/nptl/version.c +++ b/nptl/version.c @@ -36,6 +36,6 @@ __attribute__ ((noreturn)) void __nptl_main (void) { - __libc_write (STDOUT_FILENO, banner, sizeof banner - 1); + write (STDOUT_FILENO, banner, sizeof banner - 1); _exit (0); } |