diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-23 03:19:32 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-23 03:19:32 +0000 |
commit | 71c1f8a3e7f3d681360874de732257b62a800798 (patch) | |
tree | b817f80c37547f98c21282bcf6996c609ebe66fe /libc/stdio/_stdio.c | |
parent | aa39b0b2f79973652cbe219eaf580dd02bfb6670 (diff) | |
download | uClibc-alpine-71c1f8a3e7f3d681360874de732257b62a800798.tar.bz2 uClibc-alpine-71c1f8a3e7f3d681360874de732257b62a800798.tar.xz |
Bring in remaining futex support for stdio.
Diffstat (limited to 'libc/stdio/_stdio.c')
-rw-r--r-- | libc/stdio/_stdio.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/stdio/_stdio.c b/libc/stdio/_stdio.c index a967bd0de..4975ef02e 100644 --- a/libc/stdio/_stdio.c +++ b/libc/stdio/_stdio.c @@ -130,19 +130,12 @@ static FILE _stdio_streams[] = { 0 ) }; -/* psm: moved to _stdio.h: libc_hidden_proto(stdin/stdout) */ FILE *stdin = _stdio_streams; -libc_hidden_data_def(stdin) FILE *stdout = _stdio_streams + 1; -libc_hidden_data_def(stdout) -libc_hidden_proto(stderr) FILE *stderr = _stdio_streams + 2; -libc_hidden_data_def(stderr) #ifdef __STDIO_GETC_MACRO -libc_hidden_proto(__stdin) FILE *__stdin = _stdio_streams; /* For getchar() macro. */ -libc_hidden_data_def(__stdin) #endif #ifdef __STDIO_PUTC_MACRO FILE *__stdout = _stdio_streams + 1; /* For putchar() macro. */ @@ -164,7 +157,6 @@ FILE *__stdout = _stdio_streams + 1; /* For putchar() macro. */ */ FILE *_stdio_openlist = _stdio_streams; -libc_hidden_data_def(_stdio_openlist) # ifdef __UCLIBC_HAS_THREADS__ # ifdef __USE_STDIO_FUTEXES__ @@ -173,7 +165,6 @@ _IO_lock_t _stdio_openlist_lock = _IO_lock_initializer; # else pthread_mutex_t _stdio_openlist_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; # endif -libc_hidden_data_def(_stdio_openlist_lock) int _stdio_openlist_delflag = 0; # endif @@ -182,9 +173,7 @@ int _stdio_openlist_delflag = 0; #ifdef __UCLIBC_HAS_THREADS__ /* 2 if threading not initialized and 0 otherwise; */ -libc_hidden_proto(_stdio_user_locking) int _stdio_user_locking = 2; -libc_hidden_data_def(_stdio_user_locking) #ifndef __USE_STDIO_FUTEXES__ void attribute_hidden __stdio_init_mutex(pthread_mutex_t *m) |