#include "file.h" #include static struct __opaque_file __stderr = { .f_fd = 2, .f_flags = FILE_STATIC, /* TODO change this back to _IONBF once we're no longer using kern_log() * in bootstrap */ .f_buffer_mode = _IOLBF, }; extern struct __opaque_file *__libc_file_stderr(void) { return &__stderr; }