summaryrefslogtreecommitdiff
path: root/libc/stdio/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/vdprintf.c')
-rw-r--r--libc/stdio/vdprintf.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/stdio/vdprintf.c b/libc/stdio/vdprintf.c
index 457018bcf..46b8dfe39 100644
--- a/libc/stdio/vdprintf.c
+++ b/libc/stdio/vdprintf.c
@@ -26,15 +26,6 @@ int vdprintf(int filedes, const char * __restrict format, va_list arg)
__STDIO_STREAM_INIT_BUFREAD_BUFPOS(&f);
#endif
-/* __STDIO_STREAM_RESET_GCS(&f); */
-#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
- f.__cookie = &(f.__filedes);
- f.__gcs.read = NULL;
- f.__gcs.write = _cs_write;
- f.__gcs.seek = NULL;
- f.__gcs.close = NULL;
-#endif
-
f.__filedes = filedes;
f.__modeflags = (__FLAG_NARROW|__FLAG_WRITEONLY|__FLAG_WRITING);