always break rule (#154)

This commit is contained in:
coreglitch
2020-10-02 09:32:11 +03:00
committed by GitHub
parent 12e319e6d9
commit ed76f702b1
14 changed files with 135 additions and 120 deletions

View File

@@ -41,14 +41,15 @@ bool register_tty_uart() {
return false;
}
FILE* fp = fopencookie(NULL,
"w",
(cookie_io_functions_t){
.read = NULL,
.write = stdout_write,
.seek = NULL,
.close = NULL,
});
FILE* fp = fopencookie(
NULL,
"w",
(cookie_io_functions_t){
.read = NULL,
.write = stdout_write,
.seek = NULL,
.close = NULL,
});
setvbuf(fp, NULL, _IONBF, 0);
stdout = fp;